200 OK
The HTTP 200 status code means a request was successful.
The server’s response will depend on the HTTP method used:
- GET - The resource itself is returned (for example, a web page or a JSON response from an API)
- HEAD - Similar to GET, but it doesn’t contain the resource itself, only HTTP headers
- POST - The result of a request (POST method is used to create/alter the resource)
200 OK
is the most commonly used status code.