Response to preflight request doesn’t pass access control check – No ‘Access-Control-Allow-Origin’ header

You are running into CORS issues. There are several ways to fix or workaround this. Turn off CORS. For example: How to turn off CORS in Chrome Use a plugin for your browser Use a proxy, such as nginx. Example of how to set up Go through the necessary setup for your server. This is … Read more

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