Skip to Content
0
Former Member
Oct 10, 2012 at 11:05 PM

Obtaining CSRF Token for Android Odata Application

910 Views

Hi All

We are trying to perform the update operation from mobile via oData Channel using SUP, in the first call I have a header as below, I am able to recieve the response for the requested URL using GET operation,but inorder to perform UPDATE operation we need to use the CSRF token which is obtained in the previous call , I am not able to find the method for obtaining CSRF token.request your help and suggestions on how to obtain the token.

"X-Requested-With", "XMLHttpRequest"

"X-CSRF-Token","Fetch"

"Content-Type", "application/xml"

Thanks

Santosh Varada