http状态码

Status Code Description

100 (Continue)Indicates that the server has received the first part of the request and the rest of the request should be sent.
200 (OK)Indicates that all went well with the request.
201 (Created)Indicates that request was completed and a new resource got created.
202 (Accepted)Indicates that request has been accepted but is still being processed.
204 (No Content)Indicates that the server has completed the request and has no entity body to send to the client.
301 (Moved Permanently)Indicates that the requested resource has been moved to a new location and a new URI needs to be used to access the resource.
400 (Bad Request)Indicates that the request is malformed and the server is not able to understand the request.
401 (Unauthorized)Indicates that the client needs to authenticate before accessing the resource. If the request already contains client’s credentials, then a 401 indicates invalid credentials (e.g., bad password).
403 (Forbidden)Indicates that the server understood the request but is refusing to fulfill it. This could be because the resource is being accessed from a blacklisted IP address or outside the approved time window.
404 (Not Found)Indicates that the resource at the requested URI doesn’t exist.
406 (Not Acceptable)Indicates that the server is capable of processing the request; however, the generated response may not be acceptable to the client. This happens when the client becomes too picky with its accept headers.
500 (Internal Server Error)Indicates that there was an error on the server while processing the request and that the request can’t be completed.
503 (Service Unavailable)Indicates that the request can’t be completed, as the server is overloaded or going through scheduled maintenance.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值