Explore and Test HTTP Status Codes with httpco.de
httpco.de
is a service designed for developers, testers, and enthusiasts who want to experiment with and learn about HTTP status codes.
What can you do here?
- Test HTTP Responses: Enter a specific HTTP status code in the URL and our server will return that exact response. Perfect for testing how your application handles various server responses.
- Look Up HTTP Status Codes: Learn what each HTTP status code means, its use-cases, and when to apply them in web development.
Caveats
- ⚠️ Notice: Due to a known limitation, HTTP status codes in the 100s range are currently not working as expected and will instead return a 200 OK response. We are working on addressing this issue. Please bear with us.
How to Use
- Testing a Specific HTTP Response: Simply append the desired HTTP status code to the end of our URL. For example, to receive a
404 - Not Found
response, just go to https://httpco.de/404.
curl
curl
is a command-line tool used for making HTTP requests.
- Simple GET Request:
curl https://httpco.de/404
- With verbose output (to see request/response headers and other debug information)
curl -v https://httpco.de/404
httpie
httpie
is a modern, user-friendly command-line HTTP client.
- Simple GET Request:
http https://httpco.de/404
- With verbose output (to see request/response headers and other debug information)
http -v https://httpco.de/404
wget
wget
is another command-line utility to fetch content from the web.
- Simple GET Request:
wget https://httpco.de/404
- With verbose output:
wget -v https://httpco.de/404
Web Browsers
For those who prefer GUI, web browsers are a straightforward way to access httpco.de
:
- Simply type the desired URL into your browser's address bar, such as https://httpco.de/404, and you'll receive the respective status code.
Browser Developer Tools
Most modern web browsers (e.g., Chrome, Firefox, Edge) have built-in developer tools that allow you to view network requests:
- Open Developer Tools (usually by pressing
F12
orCtrl+Shift+I
/Cmd+Option+I
). - Navigate to the "Network" tab.
- Visit
https://httpco.de/404
. - Examine the request and response details in the Network tab.
Postman
Postman is a popular GUI tool for API testing.
- Launch Postman.
- Select the desired HTTP method from the dropdown (e.g., GET).
- Enter the URL, like
https://httpco.de/404
. - Hit "Send".
- View the response, status code, and other details in the results pane.
HTTP Codes
Information responses (100 - 199)
Successful responses (200 - 299)
- 200 - OK
- 201 - Created
- 202 - Accepted
- 203 - Non-Authoritative Information
- 204 - No Content
- 205 - Reset Content
- 206 - Partial Content
- 207 - Multi-Status
- 208 - Already Reported
- 226 - IM Used
Redirection messages (300 - 399)
- 300 - Multiple Choices
- 301 - Moved Permanently
- 302 - Found
- 303 - See Other
- 304 - Not Modified
- 307 - Temporary Redirect
- 308 - Permanent Redirect
Client Error Responses (400 – 499)
- 400 - Bad Request
- 401 - Unauthorized
- 402 - Payment Required
- 403 - Forbidden
- 404 - Not Found
- 405 - Method Not Allowed
- 406 - Not Acceptable
- 407 - Proxy Authentication Required
- 408 - Request Timeout
- 409 - Conflict
- 410 - Gone
- 411 - Length Required
- 412 - Precondition Failed
- 413 - Payload Too Large
- 414 - URI Too Long
- 415 - Unsupported Media Type
- 416 - Range Not Satisfiable
- 417 - Expectation Failed
- 418 - I'm a teapot
- 421 - Misdirected Request
- 422 - Unprocessable Content
- 423 - Locked
- 424 - Failed Dependency
- 425 - Too Early
- 426 - Upgrade Required
- 428 - Precondition Required
- 429 - Too Many Requests
- 431 - Request Header Fields Too Large
- 451 - Unavailable For Legal Reasons
Server error responses (500 - 599)
- 500 - Internal Server Error
- 501 - Not Implemented
- 502 - Bad Gateway
- 503 - Service Unavailable
- 504 - Gateway Timeout
- 505 - HTTP Version Not Supported
- 506 - Variant Also Negotiates
- 507 - Insufficient Storage
- 508 - Loop Detected
- 510 - Not Extended
- 511 - Network Authentication Required
More Information
Here are some useful sites with more information:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
- https://datatracker.ietf.org/doc/html/rfc9110#name-status-codes
- https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
Can I run my own?
Soon, we are working on it.
Provided by
📣 This service is proudly presented by DACHS IT.