79813125

Date: 2025-11-08 10:53:00
Score: 3
Natty:
Report link

When you are using SessionAuthentication, you are using Django's authentication which usually requires CSRF to be checked. Django REST Framework enforces this, only for SessionAuthentication, so you must pass the CSRF token in the X-CSRFToken header.

re : https://stackoverflow.com/a/26639895/16958410

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (0.5):
Posted by: mehdi_ahmadi