>_

4xx Client error

405 Method Not Allowed

The resource exists but doesn’t support this HTTP method.

For example a POST to an endpoint that only accepts GET. The response should list allowed methods in an Allow header.

Common causes and fixes

Example response

HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD
Date: Thu, 22 Oct 2026 08:00:00 GMT

Check a URL’s status with curl -I https://example.com, which prints the status line and headers.

Related status codes

Related tools

curl to Code · LLM API Playground · LLM Stream Parser