Overview
This support article will describe how to resolve 405 HTTP verb error received when using DELETE, PUT or PATCH HTTP methods with a Web API.
Cause of the error is a result of the WebDAV handler conflicting with .NET Core handler.405 - HTTP verb used to access this page is not allowed..
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access
Instructions
- Login into Plesk via the Conetix Control Panel.
- Once logged into Plesk, navigate and open the Website web.config file.
- Find the section
<system.webServer>and add the below code under the section and save.
If the section <modules> and <handlers> already exist, just add the respective lines into the respective sections.<system.webServer>
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers> - Test to confirm issue has been resolved.
