'Creating Azure iot-hub and device on it using node.js code
I am creating java script website to create to the Azure iot-hub and create device on azure iot-hub. Is there any way to do this using node.js code. Like creation of azure-iot-hub and device should be hidden to the user of the website.
Azure iot-hub should be created using code rather than creating manually by signing into azure portal.
Solution 1:[1]
The management API for IoTHub is all RESTful, so you can use Javascript library like fetch to manage resources.
https://docs.microsoft.com/en-us/rest/api/iothub/iot-hub-resource/create-or-update
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | humblejay |
