Status Codes Flashcards
2xx family
Successful
200
Successful Operation
The most common type of response in REST
201
Successfully Created
Returned when a POST operation successfully creates a resource on the server
204
No Content
Issued when a client needs a status but not any data back
3xx family
Redirection
Used to convey redirection messages.
Client must take additional action to complete the request
4xx family
Client Error
5xx family
Server Error
1xx family
Informational Response
202
Accepted
The request has been accepted for processing, but the processing has not been completed. The request might or might not be eventually acted upon, and may be disallowed when processing occurs.
203
Non-authoritative Information
The server is a transforming proxy (e.g. a Web accelerator) that received a 200 OK from its origin, but is returning a modified version of the origin’s response.
205
Reset Content
The server successfully processed the request, asks that the requester reset its document view, and is not returning any content.
206
Partial Content
207
Multi-Status
208
Already Reported
226
IM Used
302
Found (Previously “Moved Temporarily”)
Superseded by 303 and 307
307
Temporary Redirect
The request should be repeated with another URI.
The request method is not allowed to be changed when reissuing the original request.
308
Permanent Redirect
Similar to 301 but does NOT allow the HTTP method to change
400
Bad Request
The Server cannot or will not process the request due to an apparent client error
401
Unauthorized
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.