How to make a POST simple JSON using Django REST Framework? CSRF token missing or incorrect

CSRF is exempted by default in Django REST Framework. Therefore, curl POST request works fine. POSTMAN request call returned CSRF incorrect because POSTMAN included csrf token if it is found in Cookies. You can solve this by cleaning up Cookies.

Leave a Comment