📡

HTTP 状态码查询

查询和理解 HTTP 响应状态码。

Showing 21 status codes

100

Continue

1xx

The server has received the request headers and the client should proceed to send the request body.

101

Switching Protocols

1xx

The server is switching protocols as requested by the client.

200

OK

2xx

The request has succeeded. The meaning of the success depends on the HTTP method.

201

Created

2xx

The request has been fulfilled and resulted in a new resource being created.

204

No Content

2xx

The server successfully processed the request but is not returning any content.

301

Moved Permanently

3xx

The requested resource has been permanently moved to a new URL.

302

Found

3xx

The requested resource temporarily resides under a different URL.

304

Not Modified

3xx

The resource has not been modified since the last request. Use the cached version.

400

Bad Request

4xx

The server could not understand the request due to invalid syntax.

401

Unauthorized

4xx

The client must authenticate itself to get the requested response.

403

Forbidden

4xx

The client does not have access rights to the content.

404

Not Found

4xx

The server cannot find the requested resource.

405

Method Not Allowed

4xx

The request method is known by the server but is not supported by the target resource.

408

Request Timeout

4xx

The server would like to shut down this unused connection.

409

Conflict

4xx

The request conflicts with the current state of the server.

410

Gone

4xx

The requested resource has been permanently removed and will not be available again.

429

Too Many Requests

4xx

The user has sent too many requests in a given amount of time (rate limiting).

500

Internal Server Error

5xx

The server has encountered a situation it does not know how to handle.

502

Bad Gateway

5xx

The server received an invalid response from an upstream server.

503

Service Unavailable

5xx

The server is not ready to handle the request. It may be overloaded or down for maintenance.

504

Gateway Timeout

5xx

The server is acting as a gateway and did not receive a timely response from the upstream server.

使用方法

  1. 1在输入框中输入 HTTP 状态码(如 200、404、500)
  2. 2点击【查询】按钮
  3. 3查看状态码的含义、描述和常见原因
  4. 4浏览状态码分类:1xx、2xx、3xx、4xx、5xx

应用场景

  • •调试 API 响应和错误消息
  • •在开发过程中理解 Web 服务器行为
  • •在应用程序中配置正确的错误处理
  • •学习 Web 开发的 HTTP 协议

使用技巧

  • 💡2xx 表示成功,3xx 表示重定向,4xx 表示客户端错误,5xx 表示服务器错误
  • 💡404 Not Found 是最常见的错误,请仔细检查 URL
  • 💡301 重定向是永久性的,302 重定向是临时性的
  • 💡使用 429 Too Many Requests 处理速率限制

关于此工具

这是一个免费的在线工具,帮助您快速完成任务。所有处理都在浏览器中进行,确保您的数据安全。

🔒 隐私保护⚡ 即时处理🌐 无需注册

相关工具