Skip to content

Commit 03c9e6f

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 195698b commit 03c9e6f

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
@@ -29,7 +29,7 @@ int status = WL_IDLE_STATUS;
2929
WiFiClient client;
3030

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

3535
unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
@@ -95,8 +95,8 @@ void httpRequest() {
9595
if (client.connect(server, 80)) {
9696
Serial.println("connecting...");
9797
// send the HTTP PUT request:
98-
client.println("GET /asciilogo.txt HTTP/1.1");
99-
client.println("Host: arduino.cc");
98+
client.println("GET / HTTP/1.1");
99+
client.println("Host: example.org");
100100
client.println("User-Agent: ArduinoWiFi/1.1");
101101
client.println("Connection: close");
102102
client.println();

0 commit comments

Comments
 (0)