This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220S-LAUNCHXL: Enable CORS for SimpleLink REST APIs

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH

Hi All,

Is it possible to enable CORS for the SimpleLink REST APIs? Essentially I am using the SimpleLink REST APIs for provisioning, but they don't have CORS headers, which makes it impossible to use them directly from a webapp without implementing my own HTTP server methods which would essentially duplicate these endpoints. That sort of duplication seems really unideal and a simple solution would be just to be able to enable CORS. 

Is this possible? The app hitting the APIs is a web app -- In concept I have the ability to make native calls not encumbered by CORS, but it am trying to keep everything web only. 

Another idea I had was to host the portion of my provisioning application ON the SimpleLink device and serve the app off of it. However, it is an Angular application and the latency of downloading all that javascript could be a bad user experience. Also, updating the provisioning app would require an OTA update. 

Thanks! If it doesn't exist, I'd like to request this as a potential feature enhancement.