Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

josephny on Newbie difficulty

$
0
0

Struggling to get my first Thingtweet out.

 

Using an ESP8266 shield on a Mega with SoftwareSerial and this code isn't working.

What am I not seeing that right in front of my eyes:

 

tsData = "api_key=blahblahblah&status=working";
             
     espSerial.println("POST /apps/thingtweet/1/statuses/update HTTP/1.1");
     espSerial.println("Host: api.thingspeak.com");
     espSerial.println("Connection: close");
     espSerial.println("Content-Type: application/x-www-form-urlencoded");
     espSerial.print("Content-Length: ");
     espSerial.println(tsData.length());
     espSerial.println();
     espSerial.println(tsData);
 

Thank you!

Joseph


Viewing all articles
Browse latest Browse all 1833

Trending Articles