We have statamic hosted in Azure and one of the team have reported that they are unable to delete items.
Upon testing I have the following response showing up in Network:
HTTP/1.1 405 Method Not Allowed Allow: GET, HEAD, OPTIONS, TRACE Content-Length: 101 Content-Type: text/html Server: Microsoft-IIS/10.0 X-Powered-By: ASP.NET Date: Tue, 05 Mar 2019 12:57:41 GMT
The request is as below.
DELETE /cp/assets/delete HTTP/1.1 Host: humankindcharity.org.uk Connection: keep-alive Content-Length: 59 Accept: application/json, text/plain, / Origin: https://humankindcharity.org.uk X-CSRF-TOKEN: CRk4pZCzUhiohAhXOkc4cTzGyEHGR1u3N52OoIKl X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 Content-Type: application/json Referer: https://humankindcharity.org.uk/cp/assets/browse/images Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
My web.config is as follows:
Any ideas, things to try etc?