I’m trying to get a simple POST working to read a temperature variable. It works fine using curl in Terminal, but with Postman in Chrome it fails. (my ultimate goal is to use Python)
{
"error": "Permission Denied",
"info": "I didn't recognize that core name or ID, try opening https://api.spark.io/v1/devices?access_token=<my access token>"
}
I have struggled with very odd cut/paste problems that make it hard to see that either an access token is wrong (literally one digit got wrecked in the cut/paste) or the device ID.
I have to copy paste very carefully on my mac, and I cannot use notepad for that reason.
That’s weird it was a copy/paste issue with the device ID. Some kind of encoding issue? I tried saving it in Sublime Text though. What worked was manually typing the device ID into Postman.