on 2022 Jul 28 10:12 AM
Dears,
I need to consume Odata Service in ajax, I create an UI5 (To Do List) , I consumed an API normally,
but when consume Odata Service in ajax I did not get any data in the model.
Note: I did not use destination in my app , I am just want to consume it like API .
Based on my search I think it could be CORS error , maybe the model can not read the response.
if anyone have an advice or code .
Thanks
v BA
Request clarification before answering.
Check this out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if your app is loaded from server A, your ajax call can only call service having the same host/url
if you want to call service from other place instead of A, you have to use destination
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.