on 2023 Oct 25 9:53 AM
I am trying to call a product list API below to get the list of products in a JSON format. I found the API link from the network tab while accessing the SAP API Business HUB.
I can get a response while calling the API directly from the browser. However, I'm getting a CORS error when calling it from Postman or JavaScript.
Also, there are some preflight requests that are being called while calling this API from the browser.
Is there a way to access this API?
Do I need to add an access token to call this API?
Is there any additional permission that needs to be granted?
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a destination on BTP Cockpit or a Service-related Destination (MTA file), then bind it to service.
Tutorial: Creating Destination.
Your Destination must have an Authentication Method: Basic, Client Credentials, and etc...
I've faced that issue, and solved it by using BTP Destination.
User | Count |
---|---|
53 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.