We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b97e57 commit 8929485Copy full SHA for 8929485
libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino
@@ -89,7 +89,7 @@ void httpRequest() {
89
// if there's a successful connection:
90
if (client.connect(server, 80)) {
91
Serial.println("connecting...");
92
- // send the HTTP PUT request:
+ // send the HTTP GET request:
93
client.println("GET /latest.txt HTTP/1.1");
94
client.println("Host: www.arduino.cc");
95
client.println("User-Agent: arduino-ethernet");
@@ -103,5 +103,3 @@ void httpRequest() {
103
Serial.println("connection failed");
104
}
105
106
-
107
0 commit comments