Django bug on CRSF token

后端 未结 1 2031
执笔经年
执笔经年 2021-01-24 09:31

I am using django as web API for backend and React JS as web UI for frontend. User will sign up from web UI which will send a POST request to django to register with the user de

相关标签:
1条回答
  • 2021-01-24 10:07

    You are missing withCredentials: true for your post request, which means that your CSRF cookie is not sent with the request.

    0 讨论(0)
提交回复
热议问题