0% found this document useful (0 votes)
4 views3 pages

HTTP Status Code

The document outlines important HTTP status codes, categorizing them into five groups: informational, successful, redirection, client error, and server error. It provides a brief description of each status code, including common meanings and notes for testers. Key codes include 200 (OK), 404 (Not Found), and 500 (Internal Server Error), among others.

Uploaded by

Shreekar Hemadri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

HTTP Status Code

The document outlines important HTTP status codes, categorizing them into five groups: informational, successful, redirection, client error, and server error. It provides a brief description of each status code, including common meanings and notes for testers. Key codes include 200 (OK), 404 (Not Found), and 500 (Internal Server Error), among others.

Uploaded by

Shreekar Hemadri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Important HTTP Status Codes

Status Meaning What Tester Should


Status Name
Code (Simple) Note
Request Response data returned
200 OK
successful correctly
New resource ID generated, data saved
201 Created
created in DB
Processing may be
202 Accepted Request accepted
asynchronous
Success, no Expected for DELETE /
204 No Content
response body some UPDATE APIs
Invalid client Check request body,
400 Bad Request
request params, headers
Authentication Missing or invalid
401 Unauthorized
failed token/credentials
User authenticated but
403 Forbidden Access denied
no permission
Resource not Incorrect URL or invalid
404 Not Found
available ID
Method Not HTTP method not API does not allow this
405
Allowed supported method
Duplicate record or state
409 Conflict Data conflict
conflict
Internal Server
500 Server failure Backend issue, log defect
Error

HTTP status codes are divided into five categories.

1xx : Informational Purpose


2xx : Successful
3xx : Redirection
4xx : Client Error
5xx : Server Error

Status
Meaning
Code
100 Continue
101 Switching Protocols
102 Processing
103 Early Hints
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
Status
Meaning
Code
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
226 IM Used
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
306 No Longer Used
307 Temporary Redirect
308 Permanent Redirect
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Payload Too Large
414 URI Too Long
415 Unsupported Media Type
416 Range Not Satisfiable
417 Expectation Failed
421 Misdirected Request
422 Unprocessable Entity
423 Locked
424 Failed Dependency
425 Too Early
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
Request Header Fields Too
431
Large
451 Unavailable For Legal
Status
Meaning
Code
Reasons
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
507 Insufficient Storage
508 Loop Detected
510 Not Extended
Network Authentication
511
Required

You might also like