HTTP OPTIONS request on Azure Websites fails due to CORS

I decided to post a complete solution to this problem since the answers already provided (while technically correct) don’t work in this particular case for me. The trick was to do the following: 1. Add <customHeaders> in <httpProtocol> in web.config Like @hcoat also suggested above, adding system.webServer.httpProtocol.customHeaders was the first step to resolve the issue … Read more