Invoking OData API

Hi,

I am trying to get data source from a OData API. Since OData is REST only I was expecting that I can use REST API Direct integration as Data source and then create a variable for it.
I am using northwind odata as sample:
https://services.odata.org/V2/Northwind/Northwind.svc
and was trying to put my Get call for product list entity as below
Base URL https://services.odata.org/V2/Northwind/Northwind.svc
Relative Path = /Products

I am getting following error:
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

Resource settings for Get collection (GET)

Resource URL: https://services.odata.org/V2/Northwind/Northwind.svc
Relative path: /Product

I tried with another OData source from SAP (ES5) and having similar issue.

Can anyone please guide how to invoke OData source?

Hi
Iā€™m having the same issue, and I report it here:
Connect to ODATA backend - AppGyver
Hopefully, someone has some answers soon,
Cheers,
Miguel

Finally fixed the issue. In SAP Cloud Platform I have now added cors in my express. That works.
BR
Shibaji

1 Like