I'm having problem with error 401 CSRF Validation failed By the way, i'm using Drupal IOS SDK. I managed to do the login and register to my drupal website. However, after logging in I couldn't do task like Changing Password or Logging Out due to the error of 401 CSRF Validation failed. I have done alot of research about this and know that I have to pass token along with any request to prevent this from happening. Still I couldnt manage this surpass this point.
Please Help.
I've fixed the problem now, by fixing up the code in AFHTTPCLIENT to make it to get the Token and send that CSRF token back to the server whenever the requests such as post, delete is fired.