I'm playing around with the Netduino tutorial, and I'm so close, but I can't see what I'm doing wrong.
I form up the POST and then send it off:
POST /update HTTP/1.1 Host: api.thingspeak.com Connection: close X-THINGSPEAKAPIKEY: <my write key> Content-Type: application/x-www-form-urlencoded Content-Length: 14 field1=300.627
And I always get back:
HTTP/1.0 408 Request Time-out Cache-Control: no-cache Connection: close Content-Type: text/html <html><body><h1>408 Request Time-out</h1> Your browser didn't send a complete request in time. </body></html>
I really can't see what's going wrong. I'm using the tutorial cut & paste and I get the response back from the API well before the timeout.
What am I missing?
January 18, 2011
Turns out I'm just a newb....I was using http://www.thingspeak.com as the DNS lookup instead of the API IP address, so I think I was sending an API POST header to the main web server, hence the weird responses.
Sorry about that, I'm able to post data now.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:porosh2019, KellyBrise, sunainakhanna, flail, sathwik, samlewis02
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457