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

Re: The following problem occurred: HTTP request failed500,unknown protocol: sap,

$
0
0

Hi Jason,

 

Good to see you here.

 

No, ZBANK_DETAILED is not before the proxy in url.


var serviceUrl = "proxy/sap/opu/odata/sap/ZBANK_DEMO_SRV/?sap-client=800";

 

function getUrl(sUrl) {

  if (sUrl == "")

  return sUrl;

  if (window.location.hostname == "localhost"

  || window.location.hostname == "hostname.com") {

  return "proxy"+ sUrl;

  //return sUrl;

  }else {

  return sUrl;

 

  }

}

 

Regards

Dhananjay


Viewing all articles
Browse latest Browse all 8533

Trending Articles