Closed mareknbg closed 10 years ago
Try removing the braces in your headers. i.e.
curl -X GET http://skynet.im/devices/xxxxxx--UUID--xxxxxxx --header "skynet_auth_uuid: xxxxxx--UUID--xxxxxxx" --header "skynet_auth_token: 12345667890"
That was it! Thank you!
I am trying to get all information of a specific device/user I created before via the POST/Device API (curl -X POST -d "type=testuser" http://skynet.im/devices)
curl -X GET http://skynet.im/devices/xxxxxx--UUID--xxxxxxx --header "skynet_auth_uuid: {xxxxxx--UUID--xxxxxxx}" --header "skynet_auth_token: {12345667890}"
But it gives me an error {"error":"unauthorized"}