Created
November 17, 2021 07:37
-
-
Save cuneydbolukoglu/19a1252a9b39b7a7ad39567c36701a36 to your computer and use it in GitHub Desktop.
Axios Api Token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
axios.defaults.xsrfCookieName = 'csrftoken'; | |
axios.defaults.xsrfHeaderName = 'X-CSRFToken'; | |
axios.defaults.headers.common['Cookie'] = document.cookie; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment