Skip to content

Glossary: Rust in Practice

HTTP status codes

Also written: HTTP status code, status code, status, 201, 201 Created, 404, 408, 408 Request Timeout, 409, 409 Conflict, 413, 413 Payload Too Large, 422, 422 Unprocessable Entity, 500

The number in a response that tells the client what happened: 201 Created (something new was stored), 404 Not Found, 408 Request Timeout (took too long), 409 Conflict (such as not enough stock), 413 Payload Too Large (body over the limit), 422 Unprocessable Entity (well formed but unacceptable content) and 500 Internal Server Error.

Where the book teaches it

Related terms

GET and POSTTimeoutLayercurl