I'm creating an app. I have a method that pings my API to see if it's online. This is done with a HEAD call.
However, HEAD seems to be blocked, I get a 405 response. I've followed suggestions here: ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8 but Verbs is set to ALL.
We've also checked
- SSL certificate
- CORS
- Cookies
- Access tokens
- Strict-Transport-Security
and none of those are the cause.
What else can I do? The API is a Web API 2.0 application, we're using IIS 10
Update 20-11-2021
Issue is still not resolved. We've resorted to GET requests. I hope someday someone will stand up who can give us clear instructions for IIS 10, including not only the troubleshooting steps to take but also what to look for in the output.