asp.net-coreasp.net-core-webapiweb-hosting

403 Forbidden Error for .Net Core 3.1 Web Api only for Delete & PUT method


Application in .Net Core 3.1 and angular which working perfectly in locally. I hosted same application one of the hosting provider.

I am getting error "403 - Forbidden: Access is denied." for PUT & DELETE methods in web api response. I don't know why GET & POST methods are working in same application.

ASP.NET Core with IIS - HTTP Verb Not Allowed

Above link have somewhat same issue but getting 405 error. Solution given in same thread also tried but not working for me.

Please help on the same.


Solution

  • I raised a ticket to my hosting provider. They made some settings and after that its working fine.