Status Codes Flashcards

1
Q

2xx family

A

Successful

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

200

A

Successful Operation

The most common type of response in REST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

201

A

Successfully Created

Returned when a POST operation successfully creates a resource on the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

204

A

No Content

Issued when a client needs a status but not any data back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3xx family

A

Redirection
Used to convey redirection messages.
Client must take additional action to complete the request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

4xx family

A

Client Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

5xx family

A

Server Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

1xx family

A

Informational Response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

202

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

203

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

205

A

Reset Content
The server successfully processed the request, asks that the requester reset its document view, and is not returning any content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

206

A

Partial Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

207

A

Multi-Status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

208

A

Already Reported

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

226

A

IM Used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

302

A

Found (Previously “Moved Temporarily”)

Superseded by 303 and 307

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

307

A

Temporary Redirect
The request should be repeated with another URI.
The request method is not allowed to be changed when reissuing the original request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

308

A

Permanent Redirect

Similar to 301 but does NOT allow the HTTP method to change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

400

A

Bad Request

The Server cannot or will not process the request due to an apparent client error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

401

A

Unauthorized
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

403

A

Forbidden
The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing and account of some sort, or attempting a prohibited action..

22
Q

404

A

Not Found

The requested resource could not be found but may be available in the future.

23
Q

405

A

Method Not Allowed

A request method is not supported for the requested resource.

24
Q

406 Not Acceptable

A

The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.

25
407
Proxy Authentication Required | The client must first authenticate itself with the proxy
26
408
Request Timeout | The server timed out waiting for the request.
27
409
Conflict Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
28
410
Gone Indicates that the resource requested is no longer available and will not be available again. This should be used when a resource has been intentionally removed and the resource should be purged.
29
411
Length Required | The request did not specify the length of its content, which is required by the requested resource.
30
412
Precondition Failed | The server does not meet one of the preconditions that the requester put on the request header fields.
31
413
Payload Too Large | The request is larger than the server is willing or able to process.
32
414
URI Too Long The URI provided was too long for the server to process. Often the result of too much data being encoded as a query-string of a GET request.
33
415
Unsupported Media Type | The request entity has a media type which the server or resource does not support.
34
416
Range Not Satisfiable | The client has asked for a portion of the file, but the server cannot supply that portion.
35
417
Expectation Failed | The server cannot meet the requirements of the Expect request-header field.
36
421
Misdirect Request | The request was directed at a server that is not able to produce a response
37
422
Unprocessable Entity | The request was well-formed but was unable to be followed due to semantic errors.
38
423
Locked | The resource that is being accessed is locked
39
424
Failed Dependency | The request failed because it depended on another request and that request failed
40
425
Too Early | Indicates that the server is unwilling to risk processing a request that might be replayed.
41
426
Upgrade Required | The client should switch to a different protocol such as TLS/1.3, given in the Upgrade header field.
42
428
Precondition Required | The origin server requires the request to be conditional.
43
429
Too Many Requests | The user has sent too many requests in a given amount of time.
44
431
Request Header Fields Too Large The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.
45
451
Unavailable For Legal Reasons
46
500
Internal Server Error
47
501
Not Implemented | The server either does not recognize the request method, or it lacks the ability to fulfill the request.
48
502
Bad Gateway | The server was acting as a gateway or proxy and received an invalid response from the upstream server.
49
503
Service Unavailable The server cannot handle the request. Generally, this is a temporary state.
50
504
Gateway Timeout