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
Q

407

A

Proxy Authentication Required

The client must first authenticate itself with the proxy

26
Q

408

A

Request Timeout

The server timed out waiting for the request.

27
Q

409

A

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
Q

410

A

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
Q

411

A

Length Required

The request did not specify the length of its content, which is required by the requested resource.

30
Q

412

A

Precondition Failed

The server does not meet one of the preconditions that the requester put on the request header fields.

31
Q

413

A

Payload Too Large

The request is larger than the server is willing or able to process.

32
Q

414

A

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
Q

415

A

Unsupported Media Type

The request entity has a media type which the server or resource does not support.

34
Q

416

A

Range Not Satisfiable

The client has asked for a portion of the file, but the server cannot supply that portion.

35
Q

417

A

Expectation Failed

The server cannot meet the requirements of the Expect request-header field.

36
Q

421

A

Misdirect Request

The request was directed at a server that is not able to produce a response

37
Q

422

A

Unprocessable Entity

The request was well-formed but was unable to be followed due to semantic errors.

38
Q

423

A

Locked

The resource that is being accessed is locked

39
Q

424

A

Failed Dependency

The request failed because it depended on another request and that request failed

40
Q

425

A

Too Early

Indicates that the server is unwilling to risk processing a request that might be replayed.

41
Q

426

A

Upgrade Required

The client should switch to a different protocol such as TLS/1.3, given in the Upgrade header field.

42
Q

428

A

Precondition Required

The origin server requires the request to be conditional.

43
Q

429

A

Too Many Requests

The user has sent too many requests in a given amount of time.

44
Q

431

A

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
Q

451

A

Unavailable For Legal Reasons

46
Q

500

A

Internal Server Error

47
Q

501

A

Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfill the request.

48
Q

502

A

Bad Gateway

The server was acting as a gateway or proxy and received an invalid response from the upstream server.

49
Q

503

A

Service Unavailable
The server cannot handle the request.
Generally, this is a temporary state.

50
Q

504

A

Gateway Timeout