【问题标题】:Django CORS Method not allowed不允许使用 Django CORS 方法 【发布时间】:2016-05-08 01:10:33 【问题描述】: 我使用 django-cors-headers 和 django-rest-framework。 我的前端收到错误: 预检响应: 我用 curl 测试过,一切看起来都很好: 无法理解问题所在。 【问题讨论】: 标签: django cors django-rest-framework django-cors-headers 【解决方案1】: 在in the documentation 中解释了 CORS 问题。 简而言之,您正在跨域执行 CORS 保护不允许的调用。 【讨论】: