403 Forbidden

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?

403

Forbidden

Client error · RFC 9110

The server understood the request but refuses to authorize it. Authenticating will not help, or the authenticated user is not allowed.

When to use

Signed-in user without the right role; IP blocks; CSRF failure; disabled account.

Don’t

Missing login is 401. Unknown URL is 404.

Live URL

curl -i https://corecoding.com/utilities/http-status.php?code=403


    

Code use cases