For all modifying
operations such as POST, PUT and DELETE, the XCSRF token is used in the HTTP request-response
header
field.
Once you have
enabled XCSRF token on the device, the token is extracted after the first GET request triggered
by the application. This token is retained in the device memory, and is added to all subsequent
modifying requests.
The
following code illustrates how to enable XCSRF
token.
[ODPRequest enableXCSRF:YES];