Skip to Content
avatar image
Former Member

Retrieve data - poll from HCP


I am trying to simulate the device reading data pushed from HCP to device. As per GitHub iot-starter kit I found the URL mentioned is>

When I run this URL in browser and pass Authorization header as device OAuth Token generate from IoT Cockpit. It doest not return me any response. Also I check the documentation for IoT and there a different URL was mentioned


Is there any change to the APIs ?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 21, 2016 at 01:16 PM

    Hi Mayank,

    can you please elaborate again what you try to achieve?

    1. Device send messages to HCP and you want to consume those messages in your business application


    2. HCP sends messages to Device and you want to receive those messages on a Device side

    URL you have mentioned are exactly for those tho different use cases.

    For case 1. is https://<host>/<table name>

    For case 2. is https://<host>/<device id>



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Anton Levin

      Yes there was probably problem with browser session as I was getting empty response. I happened to try it in a fresh session to see the json array as you stated below.