对使用django框架开发的web网页作接口测试时,使用POST方法请求数据时
出现报错: Forbidden (CSRF cookie not set.): ****

解决办法:项目文件中的setting.py中将csrf语句注释掉

接口测试时保存Forbidden (CSRF cookie not set.)

相关文章:

  • 2022-12-23
  • 2021-09-03
  • 2021-08-03
  • 2021-11-15
  • 2021-12-06
  • 2022-01-12
  • 2021-06-15
  • 2022-12-23
猜你喜欢
  • 2021-05-20
  • 2022-01-26
  • 2022-12-23
  • 2021-05-06
  • 2021-05-18
  • 2022-12-23
相关资源
相似解决方案