qq_35501877
qq_35501877
2019-04-26 18:19

nginx转发,put,delete不可用

5
  • spring
  • nginx
  • vue.js

nginx中服务A(前端)和服务B(后端),服务A请求服务B的接口,get和post请求可以,但是delete和put请求就会出错。( has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐

换一换