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

Random Response

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

200
200 OK
201
201 CREATED
202
202 Accepted
203
203 Non-Authoritative Information
204
204 No Content
205
205 Reset Content
206
206 Partial Content
207
207 Multi-Status
208
208 Already Reported
226
226 IM Used
300
300 Multiple Choices
301
301 Moved Permanently
302
302 Found
303
303 See Other
304
304 Not Modified
307
307 Temporary Redirect
308
308 Permanent Redirect
400
400 Bad Request
401
401 Unauthorized
402
402 Payment Required
403
403 Forbidden
404
404 Not Found
405
405 Method Not Allowed
406
406 Not Acceptable
407
407 Proxy Authentication Required
408
408 Request Timeout
409
409 Conflict
410
410 Gone
411
411 Length Required
412
412 Precondition Failed
413
413 Payload Too Large
414
414 URI Too Long
415
415 Unsupported Media Type
416
416 Range Not Satisfiable
417
417 Expectation Failed
418
418 I'm a teapot
421
421 Misdirected Request
422
422 Unprocessable Entity
423
423 Locked
424
424 Failed Dependency
425
425 Too Early
426
426 Upgrade Required
428
428 Precondition Required
429
429 Too Many Requests
431
431 Request Header Fields Too Large
451
451 Unavailable For Legal Reasons
500
500 Internal Server Error
501
501 Not Implemented
502
502 Bad Gateway
503
503 Service Unavailable
504
504 Gateway Timeout
505
505 HTTP Version Not Supported
506
506 Variant Also Negotiates
507
507 Insufficient Storage
508
508 Loop Detected
510
510 Not Extended
511
511 Network Authentication Required

FAQs

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.