Skip to Content
0
Sep 07, 2017 at 08:53 PM

How do I enable CORS so I can consume data from the ODATA API that the IoT MMS Service produces?

1318 Views Last edit May 26, 2020 at 02:51 PM 3 rev

Hey folks,

Just leveraging a lightweight HTML5 (bootstrap + JQuery) page that will show output data from an arduino device I hooked up.

The page itself will be hosted on cloud platform, but an issue I'm running into right now while previewing the page on my desktop and from the WebIDE is that CORS is not enabled specifically I'm getting the error "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.".

How do I get around this?