What HTTP 405 means
RFC 9110 §15.5.6. The endpoint exists but rejects this method (e.g., POST to a read-only endpoint). The Allow header in the response lists supported methods.
Typical causes
- POST to GET-only endpoint
- DELETE on a read-only resource
- Wrong HTTP verb in client code