API Testing Fundamentals Flashcards

1
Q

What does a status code of 100 mean?

A

100 Continue: The server has received the initial part of the request and the client should continue with the rest of the request or ignore if it is already finished.

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

What does a status code of 200 mean?

A

200 OK: The request was successful, and the server has returned the requested data.

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

What does a status code of 201 mean?

A

201 Created: The request was successful, and a new resource was created as a result.

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

What does a status code of 204 mean?

A

204 No Content: The request was successful, but there is no content to send in the response.

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

What does a status code of 301 mean?

A

301 Moved Permanently: The requested resource has been permanently moved to a different location, and the client should use the new URL for all future requests.

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

What does a status code of 302 mean?

A

302 Found (or Moved Temporarily): The requested resource has been temporarily moved to a different location. The client should continue to use the original URL for future requests.

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

What does a status code of 304 mean?

A

304 Not Modified: Indicates that the resource has not been modified since the version specified by the request headers. The client can use its cached copy.

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

What does a status code of 400 mean?

A

400 Bad Request: The server could not understand the request due to invalid syntax.

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

What does a status code of 401 mean?

A

401 Unauthorized: The request requires user authentication. The client must provide valid credentials to get the requested response.

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

What does a status code of 403 mean?

A

403 Forbidden: The server understood the request, but it refuses to authorize it.

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

What does a status code of 404 mean?

A

404 Not Found: The requested resource could not be found on the server.

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

What does a status code of 500 mean?

A

500 Internal Server Error: A generic error message returned when an unexpected condition was encountered by the server.

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

What does a status code of 501 mean?

A

501 Not Implemented: The server does not support the functionality required to fulfill the request.

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

What does a status code of 503 mean?

A

503 Service Unavailable: The server is not ready to handle the request. Common causes include the server being down for maintenance or being overloaded.

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