API Status Codes Flashcards

1
Q

Overview

A
  • 1xx - Informational responses
  • 2xx - Success
  • 3xx - Redirection
  • 4xx - Client errors
  • 5xx - Server Errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

100

A

Continue

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

101

A

Switching protocols

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

102

A

Processing

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

200

A

OK. Unlike 204, 200 has a response body

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

201

A

Created

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

202

A

Accepted, indicates that the request has been accepted for processing, but the processing has not been completed

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

204

A

No content, usually in response to PUT, POST, or DELETE requests. No message body

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

205

A

Reset content

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

301

A

Moved Permanently

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

302

A

Found

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

303

A

See other

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

304

A

Not Modified

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

307

A

Temporary redirect

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

400

A

Bad request

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

401

A

Unauthorized, specifically for use when authentication is required and has failed or has not yet been provided

17
Q

403

A

Forbidden, indicates request was valid, but server is declining to send a response

18
Q

404

19
Q

405

A

Method not allowed

20
Q

406

A

Not acceptable

21
Q

408

A

Request Timeout

22
Q

413

A

Request header fields too large

23
Q

414

A

request-url too long

24
Q

415

A

unsupported media type

25
500
Internal server error
26
501
Not implemented
27
502
Bad gateway
28
503
Service unavailable
29
504
Gateway Timeout
30
505
HTTP version not supported
31
507
Insufficient Storage
32
599
Network Connect Timeout Error