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 :