Skip to content

Commit 8929485

Browse files
committed
Fix typo in a Ethernet Shield example
1 parent 0b97e57 commit 8929485

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino

+1-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void httpRequest() {
8989
// if there's a successful connection:
9090
if (client.connect(server, 80)) {
9191
Serial.println("connecting...");
92-
// send the HTTP PUT request:
92+
// send the HTTP GET request:
9393
client.println("GET /latest.txt HTTP/1.1");
9494
client.println("Host: www.arduino.cc");
9595
client.println("User-Agent: arduino-ethernet");
@@ -103,5 +103,3 @@ void httpRequest() {
103103
Serial.println("connection failed");
104104
}
105105
}
106-
107-

0 commit comments

Comments
 (0)