root@hack3rs:/srv/www$ curl -i /405/
HTTP/1.1 405 Method Not Allowed
The endpoint exists, but it does not accept this HTTP method.
status-summary.log
HTTP 405 Method Not Allowed
The server recognized the route but rejected the request method (for example, POST sent to a GET-only endpoint).
Compare request method and endpoint contract. This is often a client integration mistake.
likely-causes.lst
- $Using POST/PUT/DELETE on a read-only route.
- $Form submission targets a route that only supports GET.
- $Proxy or middleware strips method override headers.
- $CORS preflight or OPTIONS handling is misconfigured.
recovery-steps.md
- Check allowed methods in the endpoint documentation or route implementation.
- Retry with the expected method and payload format.
- Inspect proxy/CDN configuration for method restrictions.
- Validate OPTIONS and CORS handling for browser-based requests.
quick-actions.sh
ops-note.txt
Use these pages for debugging and user guidance. In production, configure your host or reverse proxy to return the matching HTTP status code for the route (especially for 405 and 404/500 responses) rather than serving a 200 with error-themed content.