API Testing Fundamentals Flashcards
What does a status code of 100 mean?
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.
What does a status code of 200 mean?
200 OK: The request was successful, and the server has returned the requested data.
What does a status code of 201 mean?
201 Created: The request was successful, and a new resource was created as a result.
What does a status code of 204 mean?
204 No Content: The request was successful, but there is no content to send in the response.
What does a status code of 301 mean?
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.
What does a status code of 302 mean?
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.
What does a status code of 304 mean?
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.
What does a status code of 400 mean?
400 Bad Request: The server could not understand the request due to invalid syntax.
What does a status code of 401 mean?
401 Unauthorized: The request requires user authentication. The client must provide valid credentials to get the requested response.
What does a status code of 403 mean?
403 Forbidden: The server understood the request, but it refuses to authorize it.
What does a status code of 404 mean?
404 Not Found: The requested resource could not be found on the server.
What does a status code of 500 mean?
500 Internal Server Error: A generic error message returned when an unexpected condition was encountered by the server.
What does a status code of 501 mean?
501 Not Implemented: The server does not support the functionality required to fulfill the request.
What does a status code of 503 mean?
503 Service Unavailable: The server is not ready to handle the request. Common causes include the server being down for maintenance or being overloaded.