I'm quite unsure of the reason for this. On localhost all request types work.
But when I publish to a Windows Azure Shared Site GET, POST & PUT requests work and DELETE requests Fail.
Right after creating the Data I cannot delete it, this happens over my local ISP and works from my cell phones internet.
I've tried
- ipconfig /flushdns
- Changing to Google and OpenDNS
- Adding a default document in web.config for Mvc - Views/Home/Index.cshtml
- Adding - runAllManagedModulesForAllRequests="true"
This is all I get back.
HTTP/1.1 403 Access Denied
Date: Mon, 08 Jun 2015 16:15:44 GMT
Connection: keep-alive
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 249
You probably just need to enable the DELETE verb in your web.config.
(source: http://microsoftazurewebsitescheatsheet.info/#enable-http-verbs)