Azure IoT Hub : retrieving messages via browser-side javascript API

Viewed 2355

Do you know if it is possible to retrieve device-to-cloud messages, with Microsoft Azure and IoT Hub, with a javascript client running in the browser (i.e. no node js) ?

It is my understanding that this is not currently possible, but I'd like to make sure (i.e. all current APIs can only work server side).

Edit1: REST APIs might be the obvious choice to attempt to do this; However, having tried these APIs via manual request, it seems the response does not provide the allow-access-control-origin header, so I can't call them from ajax due to CORS.

2 Answers
Related