Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Consuming oData for function import using Javascript or C#

$
0
0

Hello Experts,

Below URL works fine from REST Client when tested but we are not able to do it in C# or Javascript.

 

http://115.111.213.74:8000/sap/opu/odata/sap/ZWRK_CTR_GW_SRV/ZWRK_CTR?IsNotifNo='000300000131'&IsPlant='0001'&IsWrkCtr='CENTER6'

 

The Get Method work fine for getting  x-csrf-token value, but using the token we are getting error for POST method.

 

Please provide any code snippet for using above URL which is developed using function import to POST the data using x-csrf-token value

for C# or JavaScript.

 

 

Please Suggest

 

Regards

Manish


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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