Hi regarding to get list of devices(cameras,thermostats etc)


https://developer-api.nest.com/ to this api i am making an valid call(with access token )…so but i am getting an empty response…CAN anyone tell me why i am getting an empty response???it will be great someone suggest me what can i do for that??


Hi, not sure if you have resolved it, but an empty response may be caused if the code doesn’t follow HTTP redirects.
You can try this to see if your auth token and connection is working. The -L flag will redirect to the location sent in the header.
curl -v -L
-H “Content-Type: application/json”
-H “Authorization: Bearer c.YOUR_TOKEN_HERE”
-X GET “https://developer-api.nest.com/
There are more examples here: https://developers.nest.com/documentation/cloud/how-to-read-data#examples