HTTP 状态码查询
查询和理解 HTTP 响应状态码。
Showing 21 status codes
Continue
1xxThe server has received the request headers and the client should proceed to send the request body.
Switching Protocols
1xxThe server is switching protocols as requested by the client.
OK
2xxThe request has succeeded. The meaning of the success depends on the HTTP method.
Created
2xxThe request has been fulfilled and resulted in a new resource being created.
No Content
2xxThe server successfully processed the request but is not returning any content.
Moved Permanently
3xxThe requested resource has been permanently moved to a new URL.
Found
3xxThe requested resource temporarily resides under a different URL.
Not Modified
3xxThe resource has not been modified since the last request. Use the cached version.
Bad Request
4xxThe server could not understand the request due to invalid syntax.
Unauthorized
4xxThe client must authenticate itself to get the requested response.
Forbidden
4xxThe client does not have access rights to the content.
Not Found
4xxThe server cannot find the requested resource.
Method Not Allowed
4xxThe request method is known by the server but is not supported by the target resource.
Request Timeout
4xxThe server would like to shut down this unused connection.
Conflict
4xxThe request conflicts with the current state of the server.
Gone
4xxThe requested resource has been permanently removed and will not be available again.
Too Many Requests
4xxThe user has sent too many requests in a given amount of time (rate limiting).
Internal Server Error
5xxThe server has encountered a situation it does not know how to handle.
Bad Gateway
5xxThe server received an invalid response from an upstream server.
Service Unavailable
5xxThe server is not ready to handle the request. It may be overloaded or down for maintenance.
Gateway Timeout
5xxThe server is acting as a gateway and did not receive a timely response from the upstream server.
使用方法
- 1在输入框中输入 HTTP 状态码(如 200、404、500)
- 2点击【查询】按钮
- 3查看状态码的含义、描述和常见原因
- 4浏览状态码分类:1xx、2xx、3xx、4xx、5xx
应用场景
- •调试 API 响应和错误消息
- •在开发过程中理解 Web 服务器行为
- •在应用程序中配置正确的错误处理
- •学习 Web 开发的 HTTP 协议
使用技巧
- 💡2xx 表示成功,3xx 表示重定向,4xx 表示客户端错误,5xx 表示服务器错误
- 💡404 Not Found 是最常见的错误,请仔细检查 URL
- 💡301 重定向是永久性的,302 重定向是临时性的
- 💡使用 429 Too Many Requests 处理速率限制
关于此工具
这是一个免费的在线工具,帮助您快速完成任务。所有处理都在浏览器中进行,确保您的数据安全。