How to get PUT and DELETE verbs to work with WebAPI on IIS

后端 未结 3 1217
小蘑菇
小蘑菇 2020-12-18 10:16

I am using WebAPI PUT and DELETE methods to perform actions from my website via AJAX using jQuery. My server is Windows Server 2008 R2 with Plesk installed. POST and GET r

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-18 10:57

    For myself it wasn't enough to do everything @Luke was doing. I had to also go into my Programs and Features and and under Internet Information Services > World Wide Web Services > Common HTTP Features turn off WebDAV Publishing

    That then fixed it for me.

提交回复
热议问题