WebAPI Delete not working – 405 Method Not Allowed

I found the solution eventually! If you come across the same issue, add the following to your web.config <system.webServer> <validation validateIntegratedModeConfiguration=”false”/> <modules runAllManagedModulesForAllRequests=”true”> <remove name=”WebDAVModule”/> <!– ADD THIS –> </modules> … rest of settings here I hope this helps

Web API Put Request generates an Http 405 Method Not Allowed error

So, I checked Windows Features to make sure I didn’t have this thing called WebDAV installed, and it said I didn’t. Anyways, I went ahead and placed the following in my web.config (both front end and WebAPI, just to be sure), and it works now. I placed this inside <system.webServer>. <modules runAllManagedModulesForAllRequests=”true”> <remove name=”WebDAVModule”/> <!– … Read more

HTTP Status 405 – HTTP method is not supported by this URL

This is the default response of the default implementation of HttpServlet#doXxx() method (doGet(), doPost(), doHead(), doPut(), etc). This means that when the doXxx() method is not properly being @Overriden in your servlet class, or when it is explicitly being called via super, then you will face a HTTP 405 “Method not allowed” error. So, you … Read more