DEV Community

Discussion on: Django Rest Framework custom JWT authentication

Collapse
 
cankush625 profile image
Ankush Chavan

Its a great article. I really appreciate it!
Can you tell how to pass the csrftoken to the request headers using X-CSRFTOKEN key? I can access it by setting the X-CSRFTOKEN key in the Postman but I would like to know how to achieve the same through the code.
Thank you!