1100 Continue
2101 Switching Protocols
3103 Early Hints
4200 OK
5201 Created
6202 Accepted
7203 Non-Authoritative Information
8204 No Content
9205 Reset Content
10206 Partial Content
11300 Multiple Choices
12301 Moved Permanently
13302 Found
14303 See Other
15304 Not Modified
16307 Temporary Redirect
17308 Permanent Redirect
18400 Bad Request
19401 Unauthorized
20402 Payment Required
21403 Forbidden
22404 Not Found
23405 Method Not Allowed
24406 Not Acceptable
25407 Proxy Authentication Required
26408 Request Timeout
27409 Conflict
28410 Gone
29411 Length Required
30412 Precondition Failed
31413 Payload Too Large
32414 URI Too Long
33415 Unsupported Media Type
34416 Range Not Satisfiable
35417 Expectation Failed
36418 I'm a teapot
37422 Unprocessable Entity
38425 Too Early
39426 Upgrade Required
40428 Precondition Required
41429 Too Many Requests
42431 Request Header Fields Too Large
43451 Unavailable For Legal Reasons
44500 Internal Server Error
45501 Not Implemented
46502 Bad Gateway
47503 Service Unavailable
48504 Gateway Timeout
49505 HTTP Version Not Supported
50506 Variant Also Negotiates
51507 Insufficient Storage
52508 Loop Detected
53510 Not Extended
54511 Network Authentication Required
12xx : SUCCESS
2 200 OK : success
3 201 CREATED : successfully added data
4 204 NO-CONTENT successfully updated or deleted
5
6 3xx : REDIRECTION
7 304 NOT MODIFIED:
8
9 4xx : CLIENT SIDE ERROR
10 400 BAD REQUEST : bad data being sent
11 401 UNAUTHORIZED :
12 403 FORBIDDEN :
13 404 NOT FOUND : the resource does not exists at that location
14 405 METHOD NOT ALLOWED :
15 DELETE /api/spartans -->> 405 error
16 406 NOT ACCEPTABLE
17 415 Unsupported Media type
18 if you forget to specify the Content-Type
19 of Post request body, it will see it as plain text
20 and it will throw this error if it does not support
21
22 5xx : Server side error
23 500 internal service error
24 If the server do not have any mapping of the url
25 requested to handle the action -->> 500
26 503 SERVICE UNAVAILABLE :
27 504 GATEWAY TIMEOUT :
1HTTP response status codes
2
3HTTP response status codes indicate whether a specific HTTP request has been successfully completed.
4Responses are grouped in five classes:
5
61. Informational responses (100–199)
72. Successful responses (200–299)
83. Redirects (300–399)
94. Client errors (400–499)
105. Server errors (500–599)
11
121. Information responses
13 a. 100 Continue
14 b. 101 Switching Protocol
15 c. 102 Processing (WebDAV)
16 d. 103 Early Hints
17
182. Successful responses
19 a. 200 OK
20 b. 201 Created
21 c. 202 Accepted
22 d. 203 Non-Authoritative Information
23 e. 204 No Content
24 f. 205 Reset Content
25 g. 206 Partial Content
26 h. 207 Multi-Status (WebDAV)
27 i. 208 Already Reported (WebDAV)
28 j. 226 IM Used (HTTP Delta encoding)
29
303. Redirection messages
31 a. 300 Multiple Choice
32 b. 301 Moved Permanently
33 c. 302 Found
34 d. 303 See Other
35 e. 304 Not Modified
36 f. 305 Use Proxy
37 g. 306 unused
38 h. 307 Temporary Redirect
39 i. 308 Permanent Redirect
40
414. Client error responses
42 a. 400 Bad Request
43 b. 401 Unauthorized
44 c. 402 Payment Required
45 d. 403 Forbidden
46 e. 404 Not Found
47 f. 405 Method Not Allowed
48 g. 406 Not Acceptable
49 h. 407 Proxy Authentication Required
50 i. 408 Request Timeout
51 j. 409 Conflict
52 k. 410 Gone
53 l. 411 Length Required
54 m. 412 Precondition Failed
55 n. 413 Payload Too Large
56 o. 414 URI Too Long
57 p. 415 Unsupported Media Type
58 q. 416 Range Not Satisfiable
59 r. 417 Expectation Failed
60 s. 418 I'm a teapot
61 t. 421 Misdirected Request
62 u. 425 Too Early
63 v. 426 Upgrade Required
64 w. 428 Precondition Required
65 x. 429 Too Many Requests
66 y. 431 Request Header Fields Too Large
67 z. 451 Unavailable For Legal Reasons
68
695. Server error responses
70 a. 500 Internal Server Error
71 b. 501 Not Implemented
72 c. 502 Bad Gateway
73 d. 503 Service Unavailable
74 e. 504 Gateway Timeout
75 f. 505 HTTP Version Not Supported
76 g. 506 Variant Also Negotiates
77 h. 507 Insufficient Storage (WebDAV)
78 i. 508 Loop Detected (WebDAV)
79 j. 510 Not Extended
80 k. 511 Network Authentication Required
1100 Continue
2101 Switching Protocols
3103 Early Hints
4200 OK
5201 Created
6202 Accepted
7203 Non-Authoritative Information
8204 No Content
9205 Reset Content
10206 Partial Content
11300 Multiple Choices
12301 Moved Permanently
13302 Found
14303 See Other
15304 Not Modified
16307 Temporary Redirect
17308 Permanent Redirect
18400 Bad Request
19401 Unauthorized
20402 Payment Required
21403 Forbidden
22404 Not Found
23405 Method Not Allowed
24406 Not Acceptable
25407 Proxy Authentication Required
26408 Request Timeout
27409 Conflict
28410 Gone
29411 Length Required
30412 Precondition Failed
31413 Payload Too Large
32414 URI Too Long
33415 Unsupported Media Type
34416 Range Not Satisfiable
35417 Expectation Failed
36418 I'm a teapot
37422 Unprocessable Entity
38425 Too Early
39426 Upgrade Required
40428 Precondition Required
41429 Too Many Requests
42431 Request Header Fields Too Large
43451 Unavailable For Legal Reasons
44500 Internal Server Error
45501 Not Implemented
46502 Bad Gateway
47503 Service Unavailable
48504 Gateway Timeout
49505 HTTP Version Not Supported
50506 Variant Also Negotiates
51507 Insufficient Storage
52508 Loop Detected
53510 Not Extended
54511 Network Authentication Required
55
1The HTTP 200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default. The meaning of a success depends on the HTTP request method: GET : The resource has been fetched and is transmitted in the message body.
2
3from developer.mozilla.org
1HTML STATUS CODES LIST
2
31×× Informational
4100 Continue
5101 Switching Protocols
6102 Processing
72×× Success
8200 OK
9201 Created
10202 Accepted
11203 Non-authoritative Information
12204 No Content
13205 Reset Content
14206 Partial Content
15207 Multi-Status
16208 Already Reported
17226 IM Used
183×× Redirection
19300 Multiple Choices
20301 Moved Permanently
21302 Found
22303 See Other
23304 Not Modified
24305 Use Proxy
25307 Temporary Redirect
26308 Permanent Redirect
274×× Client Error
28400 Bad Request
29401 Unauthorized
30402 Payment Required
31403 Forbidden
32404 Not Found
33405 Method Not Allowed
34406 Not Acceptable
35407 Proxy Authentication Required
36408 Request Timeout
37409 Conflict
38410 Gone
39411 Length Required
40412 Precondition Failed
41413 Payload Too Large
42414 Request-URI Too Long
43415 Unsupported Media Type
44416 Requested Range Not Satisfiable
45417 Expectation Failed
46418 I'm a teapot
47421 Misdirected Request
48422 Unprocessable Entity
49423 Locked
50424 Failed Dependency
51426 Upgrade Required
52428 Precondition Required
53429 Too Many Requests
54431 Request Header Fields Too Large
55444 Connection Closed Without Response
56451 Unavailable For Legal Reasons
57499 Client Closed Request
585×× Server Error
59500 Internal Server Error
60501 Not Implemented
61502 Bad Gateway
62503 Service Unavailable
63504 Gateway Timeout
64505 HTTP Version Not Supported
65506 Variant Also Negotiates
66507 Insufficient Storage
67508 Loop Detected
68510 Not Extended
69511 Network Authentication Required
70599 Network Connect Timeout Error