Why does HTTPStatus.xyz exist?
HTTPStatus.xyz is was a project designed to understand the ins and outs of Cloudflare Workers, their capabilities and continuous deployment from GitHub. While there are other services, I do not believe there are any that are as responsive globally as HTTPStatus.xyz, due to the deployment of the site on the edge of Cloudflare's network.
Making A Request
To make a request simply add the status code to the end of the url, for example https://httpstatus.xyz/200.
By default a GET request will return a body with the status code name, i.e. "200 OK". If you would like no body returned simply add ?body=flase to the end of the url, for example https://httpstatus.xyz/200?body=flase
When building applications they must be able to deal with an unexpected response. For this reason there there is a 'random' request type.
Supported Request Types
HTTPStatus.xyz supports GET, POST, PUT, PATCH, DELETE, COPY, HEAD, OPTIONS, LOCK, UNLOCK and PROPFIND request types.
Supported Status Codes
Method Not Allowed
Proxy Authentication Required
Payload Too Large
URI Too Long
Unsupported Media Type
Range Not Satisfiable
I'm a teapot
Too Many Requests
Request Header Fields Too Large
Unavailable For Legal Reasons
Internal Server Error
HTTP Version Not Supported
Variant Also Negotiates
Bandwidth Limit Exceeded
Network Authentication Required
Web server is down
Connection timed out
Proxy Declined Request
A timeout occurred
SSL Handshake Failed
Invalid SSL Certificate
Cloudflare - Error 530 is returned along with a 1xxx error.
Network read timeout error
Network connect timeout error
Why don't you support 1xx status codes?
HTTPStatus.xyz is run using Cloudflare Workers. Unfortunately they limit the allowed status code returns to 200-599. If a request is made to any 1xx pages a 501 Not Implemented status will be returned.
What monitoring is in place to ensure HTTPStatus.xyz is working correctly?
All endpoints on HTTPStatus.xyz are regularly tested to ensure it is returning the expected results, using Postman. All endpoints are tested at a minimum weekly, with some tested every 5 minutes.
Are requests tracked?
HTTPStatus.xyz is built on-top of Cloudflare Workers. Cloudflare provides limited analytics on the total number of request made, country and requests blocked. No tracking outside what is required by Cloudflare is conducted.
Are there any usage limitations?
There are no hard defined usage limitations for HTTPStatus.xyz. The services is hosted by Cloudflare and is thus subject to their normal protections.