200

The request has succeeded. The meaning of the success depends on the HTTP method used.

Common Use

The most common success response. GET returns the requested resource, POST returns the result of the action, PUT/DELETE confirm successful modification.

API Endpoint

https://codes.uncodigo.com/http/200

Example with curl

curl -i https://codes.uncodigo.com/http/200

Try It

GET /http/200
Click "Send Request" to see the response...

Example

Request

GET /users/123 HTTP/1.1
Host: api.example.com

Response

HTTP/1.1 200 OK
Content-Type: application/json

{"id": 123, "name": "John Doe"}