Skip to main content

405 Method Not Allowed

The method is known to the server but the target resource does not support it. The response must list the allowed methods in an Allow header.

4xx · Client error

Typical causes

Sending POST to a read-only route, a missing handler for a method in the framework's router, or a static host that only serves GET.

Defined in RFC 9110, §15.5.6