locked
Azure IoT Hub - REST APIs RRS feed

  • Question

  • Hello,

    The only IoT Hub REST APIs doc I found is this one https://msdn.microsoft.com/library/mt548492.aspx. Are these the only available APIs? What about sending messages (in analogy with Event Hubs) via a REST API? 

    Thanks.
    Guy

    Friday, October 2, 2015 8:02 PM

Answers

  • Hi,
     I would suggest you to refer the article which may provide you some insight on the issue.
    https://azure.microsoft.com/en-in/documentation/articles/iot-hub-devguide/

    If this is not the issue let me know, and we can explore other avenues .

     Regards,
     Asha

      
    • Marked as answer by Guy Dillen Monday, November 30, 2015 7:01 PM
    Tuesday, October 6, 2015 10:53 AM
  • Hey Guy,

    I think you are searching for the following documentation on how to use HTTP REST APIs to send/receive data from devices :

    https://msdn.microsoft.com/en-us/library/azure/mt590785.aspx

    Paolo.


    Paolo Patierno

    • Marked as answer by Guy Dillen Monday, November 30, 2015 7:02 PM
    Monday, November 16, 2015 11:48 AM

All replies

  • Hello Guy Dillen,

    Please check the below links which give you more insight on sending message with event hub using REST API.

    https://msdn.microsoft.com/en-us/library/azure/hh780717.aspx?f=255&MSPPError=-2147217396

    http://hypernephelist.com/2014/09/16/sending-data-to-azure-event-hubs-from-nodejs.html

    https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-process-d2c/

    https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-c2d/

    Hope it helps.

    Regards,
    Sunil.HP
    Disclaimer :

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Saturday, October 3, 2015 11:40 AM
  • Hello, Thanks but I mean sending messages via REST API to IoT Hub not Event Hub. If i'm right the links in your message show sending messages via REST API to event hubs and the other ones sending/receiving messages using the .NET IoT Hub SDK to IoT Hub. Thanks. Guy
    Saturday, October 3, 2015 12:14 PM
  • Hi,
     I would suggest you to refer the article which may provide you some insight on the issue.
    https://azure.microsoft.com/en-in/documentation/articles/iot-hub-devguide/

    If this is not the issue let me know, and we can explore other avenues .

     Regards,
     Asha

      
    • Marked as answer by Guy Dillen Monday, November 30, 2015 7:01 PM
    Tuesday, October 6, 2015 10:53 AM
  • ok thanks, i'll have a look at this article.
    Sunday, October 18, 2015 9:00 AM
  • Hey Guy

    The connection strings system is pretty much useful as they are with IoT hubs in many cases. Below link is a sample Java application that you can also use to connect to IoT hubs.

    github sample

    Hope this helps!

    Monday, November 16, 2015 11:41 AM
  • Hey Guy,

    I think you are searching for the following documentation on how to use HTTP REST APIs to send/receive data from devices :

    https://msdn.microsoft.com/en-us/library/azure/mt590785.aspx

    Paolo.


    Paolo Patierno

    • Marked as answer by Guy Dillen Monday, November 30, 2015 7:02 PM
    Monday, November 16, 2015 11:48 AM