Django X-CSRF token cannot be set in javascript fetch

前端 未结 0 1169
清酒与你
清酒与你 2020-11-28 17:27

I am trying to generate a csrf token in javascript and use that with a POST request using fetch. In my html, I have the following script tag under head to g

相关标签:
回答
  • 消灭零回复
提交回复
热议问题