Monu Tools

Mã trạng thái HTTP

Tìm kiếm và tra cứu các mã trạng thái HTTP và ý nghĩa của chúng, từ 1xx đến 5xx.

Cách dùng Trạng thái HTTP

  1. 01

    Gõ một mã trạng thái hoặc một phần tên của nó.

  2. 02

    Duyệt các mã khớp, được tô màu theo danh mục.

  3. 03

    Dùng chúng làm tham chiếu nhanh khi xây dựng hoặc gỡ lỗi 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.

Câu hỏi thường gặp

Các danh mục nghĩa là gì?

1xx là thông tin, 2xx thành công, 3xx chuyển hướng, 4xx lỗi máy khách và 5xx lỗi máy chủ. Mỗi loại được hiển thị bằng màu riêng của nó.

Khác biệt giữa 401 và 403 là gì?

401 Unauthorized nghĩa là bạn chưa được xác thực, còn 403 Forbidden nghĩa là bạn đã được xác thực nhưng không được phép truy cập tài nguyên.

418 có phải mã trạng thái thật không?

418 I'm a Teapot đến từ một chuẩn đùa Cá tháng Tư. Nó không được dùng trong thực tế nhưng được công nhận rộng rãi.

Nguồn

Nhúng công cụ này

Thêm công cụ này vào trang web của riêng bạn. Sao chép đoạn mã bên dưới; nó tự động cập nhật.

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

Công cụ liên quan