Skip to Content
May 06, 2020 at 02:32 PM

CORS Policy issue with SAP APIM



I have a portal on Azure trying to connect to an API on SAP APIM.

The portal gets a CORS error in the lines of: "No Access-Control-Allow-Origin header present"

I followed the configuration steps from step 11 mentioned in this document except for the following:

a. the code in API designer remains intact. I have not changed it as per the document below.

b. I have not used API key for now. I am using Basic auth instead. So no changes related to API Key were made.

Here is a screenshot of the code from my API designer. Am I missing something in the code?