HTTPstaatuskoode
HTTP status codes are standardized codes used in the HTTP protocol to indicate the status of a client's request to a server. They are part of the HTTP response message and are three-digit numbers. The first digit of the status code defines the class of response, while the last two digits do not have any classifying or categorization role. There are five classes of status codes:
1. Informational responses (100–199): These codes indicate that the server has received and is processing the
2. Successful responses (200–299): These codes indicate that the client's request was successfully received, understood, and
3. Redirection messages (300–399): These codes indicate that further action needs to be taken by the user
4. Client error responses (400–499): These codes indicate that there was an error with the client's request.
5. Server error responses (500–599): These codes indicate that the server failed to fulfill an apparently valid
Some commonly used HTTP status codes include 200 OK, 404 Not Found, and 500 Internal Server Error.