Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: CORS Issue while consuming Hana's OData

$
0
0

Denis Descaus's Solution below worked for me.CORS Issue while consuming Hana's OData

 

I had CORS working on SPS 86 and then we moved to 96 and all the CORS requests broke.

 

His settings worked like a charm!

 

We added/replaced our ajax request attributes with the following:

 

contentType:"application/x-www-form-urlencoded",

xhrFields: {withCredentials: false},

headers : {"Accept" : "application/json"},


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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