1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Small change in Twitter example

This commit is contained in:
Tom Igoe
2012-03-01 09:34:42 -05:00
parent 56f515243e
commit 47f082800c

View File

@ -112,7 +112,7 @@ void connectToServer() {
Serial.println("making HTTP request..."); Serial.println("making HTTP request...");
// make HTTP GET request to twitter: // make HTTP GET request to twitter:
client.println("GET /1/statuses/user_timeline.xml?screen_name=arduinoteam HTTP/1.1"); client.println("GET /1/statuses/user_timeline.xml?screen_name=arduinoteam HTTP/1.1");
client.println("HOST: api.twitter.com"); client.println("HOST:api.twitter.com");
client.println(); client.println();
} }
// note the time of this connect attempt: // note the time of this connect attempt: