webapi put 404
Posted 工作,退一步海阔天空;爱情,退一步人去楼空。
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了webapi put 404相关的知识,希望对你有一定的参考价值。
windows server 2016 IIS webapi 404 error
- In IIS select your website and double-click
Handler Mappings (处理程序映射)
- Find
ExtensionlessUrlHandler-ISAPI-4.0_32bit
and double-click - In the dialog that appears, click
Request Restrictions
- On the Verbs tab add the missing HTTP verbs separated by commas (in my case it was
PUT
andDELETE
- Click
Ok
where required and answerYes
in theEdit Script Map
dialog that pops up. - Repeat for
ExtensionlessUrlHandler-ISAPI-4.0_64bit
以上是关于webapi put 404的主要内容,如果未能解决你的问题,请参考以下文章
DELETE/PUT 动词在 WebAPI 中导致 404 Not Found,仅在本地运行时
Web API + jQuery AJAX DELETE 请求返回 404