Base solution for your next web application
Open Closed

Error 405 on Swagger with update and delete service #6969


User avatar
0
kwanp created

Hi (my version is ASP.net Core + Angular V.6.9.1) i have error 405 on Swagger with update and delete service after i publish to IIS Server with sql server express on cloud server, when i test on my local is work perfect

Post and Get Work Delete and Put is Error

Thank you


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    I think the problem is with IIS.

    Please refer to the solutions given in these two articles.

    https://stackoverflow.com/questions/48188895/asp-net-core-with-iis-http-verb-not-allowed https://hovercraft.ie/asp-net-core-web-api-put-delete-methods-not-allowed-405-error/