Hi All,
I'm just wanting to confirm this isn't a simple config thing in the IoT Services...Does anyone know if it's possible to add the CORS header within the HCP IoT HTTP message requests without using some kind of Proxy to insert the Access-Control-Allow-Origin header response, or alternatively wrap the end point and source application together.
While I realise most won't have this issue due to avoiding browsers (or using Postman); in my case I'd like to use the Evothings client as it's an easy mechanism to get TI SensorTag info pushed to the HCP IoT services. Note - Evothings is a kind of prebuilt Cordova wrapped browser with Bluetooth LE support which means I cannot modify the config of the Cordova application.
Anyway, the proxy isn't that difficult, and SAP already has one available on GitHub for HCP (SAP/cloud-connectivityproxy · GitHub) but I'd prefer just to turn on CORS for my website and be done with it.
Thanks,
Matt