Common Status Codes Flashcards
1
Q
2XX
A
Success
2
Q
200
A
OK
- Standard success response.
- Typically has an HTML payload.
- Common for GET requests
3
Q
201
A
Created
- We made a new resource for you!
- Common for POST requests
4
Q
204
A
No content
- We did what you asked. It went fine…but there’s no HTML to give you!
- Common for DELETE requests
5
Q
3XX
A
Redirection
6
Q
302
A
Found
- Go look at this other URL
7
Q
4XX
A
Client Error
8
Q
400
A
Bad Request
- The data you sent doesn’t make sense!
9
Q
401
A
Unauthorized
- Gotta log in to do that, man!
10
Q
403
A
Forbidden
- Person you’re logged in as…doesn’t have permission to do that!
11
Q
404
A
Not Found
- The resource you requested doesn’t exist
12
Q
5XX
A
Server Error
13
Q
500
A
Internal Server Error