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

Re: How to use json to create in odata?

$
0
0

You would also need an X-CSRF-Token if you are doing and testing from outside the SAP GUI. It can be  acquired by doing a GET request on the same service and setting the header as

X-CSRF-Token with value fetch

 

Supply this with the body as mentioned by Ashwin and you should be able to create data using JSON.

 

 

Hope this helps,

 

Thanks,

Rakshit Doshi


Viewing all articles
Browse latest Browse all 8436

Trending Articles



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