on ‎2020 Sep 24 8:56 AM
Hello guys,
I need my SAP IoT Application Enablement APIs to send this header: Access-Control-Allow-Origin: *
How can I enable CORS requests on the backend?
Thanks,
Vlad
Request clarification before answering.
Hi, can you describe your use case in more detail?Usually you would not call the SAP IoT apis from a client but only from a server application. The server application could then use the SAML authentication mechanism based on a user session or the OAUTH2 mechanism based on client id and client secret.
Yes, I know a mash-up on the client calling multiple different back-end apis is compelling for quickyl building a prototype but from a user experience and from an operations point of view has a lot of issues. Regards, Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I just need to create a really simple dashboard where I display some graphs containing some sensor data from a RPi that sends data to the IoTAE. So I'm building a small app using Svelte.js to do that (I've built one already using UI5 on the Web IDE but I need to make a custom one).
Okay so then I'll have to create a "middleware" backend to kinda fix this. But I don't really understand why you don't let users to call the API from the client (enabling CORS).
Thanks,
Vlad
| User | Count |
|---|---|
| 12 | |
| 7 | |
| 4 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.