Hi all,
I am posting the following from my arduino uno + wifly shield
POST /events/?sense_key=<my sense key> HTTP/1.1
Content-Type: application/json
\r\n
[{"feed_id":41433, "value" : 25.00},{"feed_id":41434,"value": 702.00},{"feed_id":41435,"value": 119.00}]
\r\n
and in return I get
HTTP/1.1 411 Length Required
.... plus other stuff but the above is the meat of the response.
I have counted the content length and it is 104 characters plus 2 for the crlf at the end of the line so the content length looks to be right. Returning 104 for the length gives the same error. Can anyone see if I have done something stupid that would suggest why I am getting this error?
Any help gratefully appreciated while I still have hair and sanity.