ABP PUT、DELETE请求错误405.0 - Method Not Allowed 因为使用了无效方法(HTTP 谓词) 引发客户端错误 No 'Access-Control-Allow-Origin' header is present on the requested resource
参考:https://www.cnblogs.com/donaldtdz/p/8094300.html
错误消息:
PUT http://localhost:8060/api/services/app/User/Update 405 (Method Not Allowed)
users:1 Failed to load http://localhost:8060/api/services/app/User/Update: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 405.
方案:
启用或关闭Windows功能 –> Internet Information Services 关闭WebDAV发布
posted on 2020-10-19 09:36 springsnow 阅读(119) 评论(0) 编辑 收藏 举报