HTTP 405 Method Not Allowed

The URL exists but not with this method. The response must include an Allow header listing what is permitted.

Why you would test it

Read the Allow header rather than guessing. It is the machine-readable answer to "what can I do with this resource?".

Endpoints that return 405

1 endpoint in this playground answers with 405. Every one is free, needs no signup, and can be called from the browser or with curl.

Other client error codes

All HTTP status codes · All 37 mock REST APIs · Getting started guide