on 08-24-2016 11:43 AM
Hi Expert,
I want to transfer data from .NET(C#) to SAP throw odata. it's working fine for Chrome Advance rest client...
Below is Advance Rest Client Screen Shot.
in Advance Rest Client App data inserted in user table. but when pushing data from .NET Application its not working
Below Screen Shot when pushing data from .NET.
Below Code for Getting header detail from SAP ( GET Method )
Below Code when pushing data with following header detail from SAP ( POST Method )
GET code working fine. fetching X-CSRF-Token successfully from SAP.
but in POST code returning error "CSRF token validation failed".
please help.
Thankx
Prakash
Hi,
Please check the following documentation for this issue.
https://help.sap.com/saphelp_nw74/helpdata/en/b3/5c22518bc72214e10000000a44176d/content.htm
Regards,
Lynn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lynn ,
Thankx for your reply ... CSRF Token working fine with Chrome Advance Rest Client.
only issue with .Net application .. when i am pushing data from .NET.
at the time of data pushing i am fetching access token from SAP throw Fetch method and passing it into POST Method at time of data sending. all process are work properly only issues with Token validation. time of data sending .NET validate CSRF token with SAP and return with error " CSRF Token validation faild "
Thanks
Prakash.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.