on 10-20-2016 11:34 AM
In API Management I have created an API proxy by importing the "URLMask" example (which is available at https://github.com/SAP/cloud-api-management-samples) The problem I have is that the target site contains several relative urls that loads CSS files and Java Script files. My issue is that the proxy base URL is dropped
Anybody have experienced the same issue ?
Regards
Rasmus
Example:
Target: https://testsite.com/
Proxy Endpoint: https://trial.apim1.hanatrial.ondemand.com/ <account name>/v1/test
The response contains a relative url like /javascripts/script.js which result in a new request :
https://trial.apim1.hanatrial.ondemand.com/javascripts/script.js
this fails because /<account name>/v1/test is not included in the urlHi Rasmus,
Apologies for the delay in the reply, we are still adjusting to the new Community format.
Can you elaborate a little bit about what the issue is that you're facing? The GitHub API Proxy is pointing to ES4 with absolute URLs. Do you mean that you have modified the Proxy to point to a different Target?
And for the JS, are you saying the API Proxy is calling a relative URL JS, or the Target site contains javascript?
Regards,
Elijah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.