I am trying, in order to simulate a device, to send a message to an existing IoT-Hub following this procedure: https://www.codeproject.com/Articles/1113447/Azure-IOT-Hub-REST-API
I am able to successfully create my shared access signature using the Device Explorer.
In postman, I send a post request to:
https://myHubName.azure-devices.net/devices/myDeviceId/messages/events?api-version=2016-02-03
(my real hub name isn't myHubName)
With the Authorization header with the shared access signature and with the content type header,
With this JSON: {deviceId: "myDeviceId", temperature: "80"}
But I have no response whatsoever from the endpoint (Timeout).
I feel like the server should at least respond with an unauthorized request. Am I missing something here?
EDIT: As discussed with Rita, I was missing the s in https when I was trying to send the request. The IoT-Hub now responds appropriately.