What is the Status Code?
The status code in Postman refers to the numerical code returned by a server in response to an HTTP request. It indicates the outcome of the request, such as information response, success response, redirection response, client error response, or server error response.
Status Code in Postman |
Types of HTTP Status Codes in API
There are 5 Types of Postman status code lists.
- 1xx informational responses
- 2xx success responses
- 3xx redirection responses
- 4xx client error responses
- 5xx server error responses
1xx Informational Responses
100 Continue:100 Status code in Postman
101 Switching Protocols:101 Status code in Postman
102 Processing:102 Status code in Postman
2xx Success Responses
200 OK: 200 Status code in Postman
201 Created: 201 Status code in Postman
204 No Content: 204 Status code in Postman
3xx Redirection Responses
301 Moved Permanently:300 Status code in Postman
303 See Other: 303 Status code in Postman
4xx Client Error Responses
400 Bad Request:400 Status code in Postman
401 Unauthorized:401 Status code in Postman
403 Forbidden:403 Status code in Postman
404 Not Found:404 Status code in Postman
404 Status code in Postman means that the server is unable to find the requested resource.
5xx Server Error Responses
500 Internal Server Error:500 Status code in Postman
502 Bad Gateway:502 Status code in Postman
503 Service Unavailable:503 Status code in Postman
Hope!!! The above tutorial on Status code in API Testing is helpful For you...
Team,
QA acharya
0 Comments