Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

axios post to django rest return fobidden 403

axios.defaults.xsrfHeaderName = "X-CSRFTOKEN";
axios.defaults.xsrfCookieName = "csrftoken";
axios.defaults.withCredentials = true;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #axios #post #django #rest #return #fobidden
ADD COMMENT
Topic
Name
1+2 =