会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
tclywork
博客园
首页
新随笔
联系
订阅
管理
2017年4月12日
Js 跨域CORS报错 Response for preflight has invalid HTTP status code 405
摘要: 调用接口遇到Response for preflight has invalid HTTP status code 405这样的错误,是使用PUT方式提交请求接口。Content-Type设置为application/json,JS代码如下: 尝试解决 项目使用的是WebApi,按照网上的比较通用的
阅读全文
posted @ 2017-04-12 08:49 Tclywork
阅读(11043)
评论(0)
推荐(1)
编辑
公告