json response
Hi there,
Is there a change in the json response when I do http write to a channel ?
I send:
POST /update.json HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: api.thingspeak.com
Connection: close
Content-Length: 102
apikey=xxxxxxxxxxxx&field1=-4.803&field3=18&field4=91&field5=109&field6=56&field7=0&field8=7
and I don't receive the normal response
I get sth like:
'unsafe-eval'; style-src 'self' https: 'unsafe-inline'; connect-src 'self' https: https://*.mathworks.com https://*.thingspeak.com https://*.omtrdc.net https://*.demdex.net; frame-src 'self' https: https://*.mathworks.com
5 Comments
Time DescendingHere's my CURL request:
curl --request POST --url https://api.thingspeak.com/update.json --header 'Content-Type: application/x-www-form-urlencoded' --data api_key=REDACTED_API_KEY --data field1=34959
or the version of it with the params sent in the query parameters:
curl --request POST --url 'https://api.thingspeak.com/update.json?api_key=REDACTED_API_KEY&field1=23423' --header 'Content-Type: application/x-www-form-urlencoded'
and the response I get back:
{"channel_id":2778777,"created_at":"2026-11-05T15:21:39Z","entry_id":15,"field1":"34959","field2":null,"field3":null,"field4":null,"field5":null,"field6":null,"field7":null,"field8":null,"latitude":null,"longitude":null,"elevation":null,"status":null}
This matches the documented behavior.
Can you please share your CURL request (with your channel's API keys redacted)?
Do you mean a change from what is written in the doc? I'm not aware of any changes from the published doc.
Sign in to participate