Axios Django Csrf

[Solved] Axios Django Csrf | Python Frameworks Django - Code Explorer | www.yomemimo.com
Question : axios django csrf

Answered by : ahmed-shimul

axios.defaults.xsrfHeaderName = "X-CSRFTOKEN";
axios.defaults.xsrfCookieName = "csrftoken";

Source : https://stackoverflow.com/questions/39254562/csrf-with-django-reactredux-using-axios | Last Update : Tue, 26 Apr 22

Answers related to axios django csrf

Code Explorer Popular Question For Python Frameworks Django