Hi Experts,
We have a requirement to consume a REST API in an SAPUI5 application developed in SAP Business Application Studio (BAS). I am able to consume ODATA service but for a REST API getting HTTP 404 error code, can you all please look at below scenario and help if I am missing out something. This is now on high priority any sort of help would be much appreciated.
Please note below:
I have create a FIORI app in SAP BAS having Target Runtime as Cloud Foundry and Using MANAGED APPROUTER, app id in manifest is ns.zzidexx2
Create a destination name "jsonplaceholder" in subaccount
Modified xs-app.json to include a route for redirection of API calls to destination
calling the REST API in view controller along with destination name
Tested the destination "jsonplaceholder" from BAS, it is working fine






-Regards,
Rauf Shaikh
Request clarification before answering.
Hi Rauf,
Facing the same issue. Were you able to resolve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.