HTTP has a status code "405" for when a method isn't allowed by a server.
In situations with proxies such as Kubernetes services, load balancers, or Istio, the HTTPS and HTTP ports can get mixed up. In this scenario, a 405 error is most likely related to an HTTPS connection going to an HTTP port via a proxy.