Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

HCP - API Management - CORS Configuration

$
0
0

Hi experts,

 

I'm using API Management in the HCP trial edition.

 

I have created an API connected to a remote non-SAP API server. The API seems to work correctly: I can POST requests and get the expected XML response using the following URL:

 

https://trial.apim1.hanatrial.ondemand.com:443/pxxxxxxxxxxtrial/XmlAPIService

 

Now I want to consume this API from a SAPUI5 app deployed in the same HCP.

 

Unfortunately, the app doesn't work because it isn't compliant with SOP: the SAPUI5 app is on an slightly different domain of the API.

 

https://appname-pxxxxxxxxxtrial.dispatcher.hanatrial.ondemand.com/?hc_reset

 

How can we configure the API so that we can consume it from the SAPUI5 app?

 

Can we configure CORS between SAPUI5 and the API in HCP API Management?

 

Thanks in advance,

 

Jon


Viewing all articles
Browse latest Browse all 2067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>