Monu Tools

HTTP 狀態碼

搜尋和查找 HTTP 狀態碼及其含義,從 1xx 到 5xx。

如何使用 HTTP 狀態

  1. 01

    輸入狀態碼或其名稱的一部分。

  2. 02

    瀏覽按類別顯示顏色的匹配代碼。

  3. 03

    在構建或除錯 API 時作為快速參考。

A searchable status reference

A searchable reference of HTTP status codes, the three-digit numbers a server returns with every response to say what happened, from 1xx through 5xx, with their standard messages and grouped by category.

It is a fast lookup while you build or debug an API or website: type a code or part of its name and the matching entries appear, so you do not have to remember every number.

What the categories mean

The categories tell you most of the story at a glance: 1xx informational, 2xx success, 3xx redirection, 4xx client errors (the request was wrong) and 5xx server errors (the server failed). Each group is shown in its own color so you can scan quickly.

Codes you will meet often

Some codes come up constantly: 200 OK, 201 Created, 301 and 302 redirects, 304 Not Modified for caching, 400 Bad Request, 401 and 403 for auth, 404 Not Found, 409 Conflict, 422 for validation, 429 Too Many Requests, and 500, 502 and 503 on the server side.

Codes that get confused

A frequent source of confusion is 401 versus 403: 401 Unauthorized means you have not authenticated, while 403 Forbidden means you are authenticated but not allowed. Another is 301 versus 302: a permanent versus a temporary redirect, which search engines treat very differently.

Instant and offline

The reference is static data shipped with the page, so searching is instant and works offline.

常見問題

類別是什麼意思?

1xx 是資訊,2xx 是成功,3xx 是重定向,4xx 是用戶端錯誤,5xx 是伺服器錯誤。每個都以其自己的顏色顯示。

401 和 403 有什麼區別?

401 Unauthorized 表示您未認證,而 403 Forbidden 表示您已認證但不允許存取資源。

418 是真實的狀態碼嗎?

418 I'm a Teapot 來自愚人節玩笑標準。它在實際中不使用,但廣為人知。

來源

嵌入此工具

將此工具加入你自己的網站。複製下方的程式碼片段,它會自動保持最新。

<iframe src="https://monu.tools/embed/zh-Hant/http-status-codes" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

相關工具