Skip to content
v1.0.0

Response statuses

Example of an OpenAPI document with response statuses.

License

MIT

Servers

https://httpstat.us/

Default


ID: get200

Get 200

GET
200

Example of a response with a 200 status code.

Responses

Successful response
application/json
JSON
"200 OK"

Samples


ID: get201

Get 201

GET
201

Example of a response with a 201 status code.

Responses

Created
application/json
JSON
"201 Created"

Samples


ID: get400

Get 400

GET
400

Example of a response with a 400 status code.

Responses

Bad Request
application/json
JSON
"400 Bad Request"

Samples


ID: get401

Get 401

GET
401

Example of a response with a 401 status code.

Responses

Unauthorized
application/json
JSON
"401 Unauthorized"

Samples


ID: get403

Get 403

GET
403

Example of a response with a 403 status code.

Responses

Forbidden
application/json
JSON
"403 Forbidden"

Samples


ID: get404

Get 404

GET
404

Example of a response with a 404 status code.

Responses

Not Found
application/json
JSON
"404 Not Found"

Samples


ID: get500

Get 500

GET
500

Example of a response with a 500 status code.

Responses

Internal Server Error
application/json
JSON
"500 Internal Server Error"

Samples


Powered by VitePress OpenAPI