question

Matt-7416 avatar image
0 Votes"
Matt-7416 asked SandervandeVelde42 answered

Where is the documentation for "Using the HTTP protocol directly (as a device)"?

Is there documentation that is the equivalent of this MQTT:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support#using-the-mqtt-protocol-directly-as-a-device
...but for HTTP?

I.e. I want to quickly learn how to transmit device-to-cloud telemetry to an IoT Hub via HTTP, without the use of an Azure SDK.



azure-iot-hub
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered

Hello @Matt-7416,

yes, there is an HTTP Rest endpoint for communication towards the IoT Hub.

Check out this API description.

In the past, I wrote this blog post about it. Although a bit rusty, it should still point you in the right direction.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.