Skip to Content
0
Jan 12, 2015 at 04:20 PM

C# CRUD operation for SAP GAteWay

751 Views

Dear All

Can you help us with codes or information about how to consume Odata service of SAP gateway from Web Application developed in C# . We are able to do read operation (GET) but failed for POST or PUT. I have followed the link http://scn.sap.com/community/gateway/blog/2012/04/26/modifying-request-through-gateway-using-net-c

Though we have tried many times after following the above link's information , we failed for POST/PUT operation because of CSFR Token validation failed . We are also aware about " How to deactivate CSRF token validation" by setting parameter 0 in ~CHECK_CSRF_TOKEN. But we want to do POT/PUT with CSRF validation .

Also want to state that When we can do successfully the POST operation using FireFox REST tool with CSRF token .

Please help us with information or codes for C#

-pk