Hello,
When I make ajax calls from my HTML5 application created using WEB IDE to any http destination (with another origin), I use destinations defined in the cockpit.
For example, if I need to make a call to "https://www.somesite.com/contentfolder/content", and the destination's path in neo-app.json is defined as "/mysite" with entry path "/", then the request url will look like follows:
"https://<app_name>-<account_name>.dispatcher.hana.ondemand.com/mysite/contentfolder/content",
or, if I'm only testing my app from WEB IDE:
"https://webidetesting<some_number>-<account_name>.dispatcher.hana.ondemand.com/mysite/contentfolder/content".
The question is if I can make the request url look like the original one: "https://www.somesite.com/contentfolder/content"?
In my case the target server reacts differently if I make call using the original request url (it works fine) or the request url with destination (it doesn't work - I get response's "Status Code:200 OK" and "Cache-Control: no-cache, no-store, must-revalidate" headers).
Thank you.