HTTP status codes

    Searchable reference of every HTTP response status code and its meaning.

    Loading tool…

    About the http status codes

    A searchable reference for every registered HTTP response code, filterable by number, name or description. Covers the informational, success, redirect, client error and server error classes, including the WebDAV additions.

    Frequently asked questions

    When should I return 401 rather than 403?

    401 means the request was not authenticated and credentials might help. 403 means the identity is known and still not permitted, so retrying with the same credentials is pointless.

    301 or 302 for a moved page?

    301 for a permanent move — search engines transfer ranking signals and browsers cache it hard. 302 for temporary redirects like a maintenance page. Use 308 and 307 when the method and body must be preserved.

    Often used alongside