Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Consuming oData for function import using Javascript or C#

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

Not what you were looking for? View more on this topic or Ask a question