I\'m using Django 1.7 and django-rest-framework.
I made an API that returns me some JSON data putting this in my settings.py
settings.py
REST_FRAMEW
1- Search for the Cookie header
2- Separate the csrftoken from the sessionid
3- Add the X-CSRFToken={..the csrftoken that you extracted in step 2..} see below
4- Post again