Define HTTP status code.
A three-digit response code indicating the result of a server’s attempt to process a request.
What does a 200 status code signify?
It indicates that the request was successful and the server returned the requested resource.
True or false: A 404 status code means the resource was found.
FALSE
A 404 status code indicates that the requested resource could not be found on the server.
Fill in the blank: A 500 status code indicates a _______ error.
server
What does a 301 status code indicate?
It indicates that a resource has been permanently moved to a new URL.
Define client error in HTTP status codes.
Client errors are codes in the 400 range, indicating issues with the request from the client.
What does a 403 status code mean?
It means that access to the requested resource is forbidden.
True or false: A 302 status code indicates a permanent redirect.
FALSE
A 302 status code indicates a temporary redirect to a different URL.
Fill in the blank: The status code for ‘Unauthorized’ is _______.
401
What does a 204 status code indicate?
It indicates that the server successfully processed the request but is not returning any content.
Define redirection in HTTP status codes.
Redirection status codes (300-399) indicate that further action is needed to complete the request.
What does a 408 status code mean?
It indicates that the server timed out waiting for the client to send a request.
True or false: A 503 status code means the server is temporarily unable to handle the request.
TRUE
A 503 status code is often due to server overload or maintenance.
Fill in the blank: The status code for ‘Not Found’ is _______.
404
What does a 429 status code indicate?
It indicates that the user has sent too many requests in a given amount of time.
Define informational responses in HTTP status codes.
Informational responses (100-199) indicate that the request was received and is being processed.
What does a 505 status code mean?
It indicates that the server does not support the HTTP protocol version used in the request.
True or false: A 100 status code indicates that the request is being processed.
TRUE
A 100 status code is an interim response indicating that the initial part of the request has been received.
Fill in the blank: The status code for ‘Payment Required’ is _______.
402
What does a 511 status code indicate?
It indicates that network authentication is required to access the requested resource.
Define success responses in HTTP status codes.
Success responses (200-299) indicate that the request was successfully received, understood, and accepted.
What does a 308 status code indicate?
It indicates that the resource has been permanently redirected, similar to a 301 but retains the request method.
True or false: A 201 status code indicates that a resource was created successfully.
TRUE
A 201 status code is commonly returned after a POST request that creates a new resource.
Fill in the blank: The status code for ‘Conflict’ is _______.
409