Skip to content

Commit 0fbb49d

Browse files
committed
Changed arduino.cc in example.org
Changed the server url in WiFiWebClientRepeating.ino example, due to the dismission of http://arduino.cc
1 parent 76c61fb commit 0fbb49d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int status = WL_IDLE_STATUS;
3232
WiFiClient client;
3333

3434
// server address:
35-
char server[] = "arduino.cc";
35+
char server[] = "example.org";
3636
//IPAddress server(64,131,82,241);
3737

3838
unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
@@ -93,8 +93,8 @@ void httpRequest() {
9393
if (client.connect(server, 80)) {
9494
Serial.println("connecting...");
9595
// send the HTTP PUT request:
96-
client.println("GET /asciilogo.txt HTTP/1.1");
97-
client.println("Host: arduino.cc");
96+
client.println("GET / HTTP/1.1");
97+
client.println("Host: example.org");
9898
client.println("User-Agent: ArduinoWiFi/1.1");
9999
client.println("Connection: close");
100100
client.println();

0 commit comments

Comments
 (0)