Last active
December 21, 2018 16:22
-
-
Save imbolc/04c23a183e42f2d8af6f6994f62dd236 to your computer and use it in GitHub Desktop.
Setup axios with django
This file contains hidden or 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.xsrfHeaderName = 'X-CSRFToken' | |
axios.defaults.xsrfCookieName = 'csrftoken' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment