CORS domain name to use for Azure / AWS HTTP integration


#1

Hello,

I am working on passing the button press events (and other events) originating from the LTE-M Beacon to Microsoft Azure using an Azure Functions HTTP endpoint, and need to configure CORS (Cross Origin Resource Sharing) on the Azure side , to accept an HTTP POST coming from the Estimote Cloud to Azure - could someone help me verify that the domain name I should use in my CORS configuration is ‘cloud.estimote.com’ ? Or would it be something else?

Thanks!


#2

I don’t think you should need CORS on your Azure Function. Your IoT App’s cloud code is run on our servers, not in a web browser, so CORS shouldn’t apply.


#3

That was correct - I found and fixed a separate issue in the Cloud Code, and now the HTTP POST from the Estimote Cloud to Azure functions correctly. Thanks!