Hey guys, I am trying the results again using the GUI in the
https://ubidots.com/docs/#send-one-value-to-ubidots
page, and I’m not receiving any data whatsoever in my Data source.
I saw this at the side. (see the API response part)
POST /api/v1.6/variables/583adfdd76254267734051e2/values HTTP/1.1
X-Auth-Token: lkHn7uADasOz4XmyDQ07nRiwy98UmP
Host: things.ubidots.com
Connection: close
Content-Type: application/json
Content-Length: 12
{"value":10}
API response:
{"readyState":4,"responseText":"{\"detail\": \"JSON parse error - No JSON object could be decoded\"}","responseJSON":{"detail":"JSON parse error - No JSON object could be decoded"},"status":400,"statusText":"BAD REQUEST"}
Sample curl request
curl -X POST -H "Content-Type: application/json" -d '{"value":10}' https://things.ubidots.com/api/v1.6/variables/583adfdd76254267734051e2/values/?token=lkHn7uADasOz4XmyDQ07nRiwy98UmP
Is there something wrong with the platform?