sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
693 stars 766 forks source link

Connect Your SAP Build Application to a Public API CORS #23437

Open szebenyib opened 5 months ago

szebenyib commented 5 months ago

Tutorials: https://developers.sap.com/tutorials/appgyver-connect-publicapi.html

Using the API one receives

Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

Resource settings for Get record (GET)
-------------------
Resource URL: https://world.openfoodfacts.org/api/v0
Relative path: /product/{barcode}.json

Is there any official method how this is to be handled?