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

Re: How to set CSRF token to make a POST call via Destinations in HANA XS

$
0
0

Hi Aparna,

There is no way that your UI can get the CSRF token corresponding to the Gateway OData service . Remember that you have deployed your application in XS Engine. So, inside your XSJS context itself, make a GET call, and get your CSRF token corresponding to the OData which you are planning to POST to . Then make the post statement. (By the way, how did you get the gateway CSRF token in your UI ?)

 

Sreehari.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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