Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Web API issues

Web API methods return the 405 Method Not Allowed error

When you use PUT or DELETE requests, you may obtain the 405 Method Not Allowed error. At the same time, POST and GET requests may work properly.

Solution

You can disable WebDAV in the web.config file. Add the following code to the <system.webServer> node.

<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>

Alternatively, you can remove the WebDAV Publishing role from your server.

Was this page helpful?