From 89294855fe9a2a3d90e74a53dc45524347ad35c1 Mon Sep 17 00:00:00 2001 From: Arnie97 Date: Sat, 19 Dec 2015 21:10:24 +0800 Subject: [PATCH] Fix typo in a Ethernet Shield example --- .../examples/WebClientRepeating/WebClientRepeating.ino | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino b/libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino index 16fa32449f6..e955c4d4a22 100644 --- a/libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino +++ b/libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino @@ -89,7 +89,7 @@ void httpRequest() { // if there's a successful connection: if (client.connect(server, 80)) { Serial.println("connecting..."); - // send the HTTP PUT request: + // send the HTTP GET request: client.println("GET /latest.txt HTTP/1.1"); client.println("Host: www.arduino.cc"); client.println("User-Agent: arduino-ethernet"); @@ -103,5 +103,3 @@ void httpRequest() { Serial.println("connection failed"); } } - -