Look up a status, pick the right one for an API, or hit a live endpoint that actually returns it. Add ?code=418 to this URL and the response is that status — useful for curl, interceptors, and “what does my client do on 503?” Nothing here phones home except the Try it fetch to this same page.
Which class?
The resource exists but does not support this method. Include Allow with the methods that work.
When to use
GET on a POST-only action, or DELETE when you only support GET/PUT.
Don’t
Unknown URLs are 404, not 405.
Live URL
curl -i https://corecoding.com/utilities/http-status.php?code=405
No codes match.
Code use cases