WEB API 2 Delete returns 405

后端 未结 4 649
深忆病人
深忆病人 2021-01-21 20:06

I\'m trying to do create a delete function in my web API class. I had problems earlier with using the Put and Patch Http messages since these were being linked to WebDAV. After

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-21 20:20

    If somebody is having this problem with only DELETE and PUT in the httprequest. I had it and it was solved by removing WebDav. https://inedo.com/support/kb/1140/disabling-webdav-in-iis

提交回复
热议问题