Device HQ
- This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
I am try to using the Device HQ API to build simple website, the end user can use it for monitoring the gateway information. when I try to connect to API every time failed
I use this example
https://www.devicehq.com/api/v2/test
I get this result
{“errors”:[{“detail”:”Content-Type header must be set to either application/vnd.api+json or application/json”}]}
Try setting header “Content-Type” to either “application/vnd.api+json” or “application/json”.
get this message, still not working
{“errors”:[{“detail”:”API authentication failed.”}]}
Looks like /api/v2/test needs authentication although the doc says it shouldn’t.