HTTP Status Server

HTTP

Get a predictable HTTP status code back from status.awsm.io, handy for testing clients, webhooks and error handling.

Endpoint

Ask for any status by putting it in the path.

Use status.awsm.io when you need a predictable HTTP response for a redirect, fetch, webhook, health-check, retry, or error-handling test.

https://status.awsm.io/{status-code}

The service sets the response status to the number in the URL path. Valid requests use a final HTTP response code from 200 to 599, such as 200, 404, or 503. A bare request to status.awsm.io redirects to awsm.io/status.

Try it

Call it with any HTTP method from anything that can make a request.

curl -i https://status.awsm.io/418

That request responds with an HTTP 418 status. For ordinary body-bearing statuses, the response includes a small JSON-compatible body containing the same number.

curl -i -X POST https://status.awsm.io/201
curl -i -X PATCH https://status.awsm.io/204
curl -i -X DELETE https://status.awsm.io/410

The service ignores the request method, so you can use it for route, webhook, retry, and client tests that need something more specific than a plain GET.

const response = await fetch('https://status.awsm.io/404')

console.log(response.status) // 404
console.log(response.ok)     // false

Browser calls are allowed from anywhere with CORS, and responses are marked no-store so test runs do not quietly reuse a cached result.

Special cases

Redirects redirect, and empty-body statuses stay empty.

Requests for 301 and 302 return a real redirect to https://awsm.io/status, including a Location header and a tiny HTML fallback body for clients that show redirect content.

curl -i https://status.awsm.io/302

HTTP/2 302
location: https://awsm.io/status
content-type: text/html; charset=utf-8

Requests for 204, 205, and 304 return no body and no content type.

Invalid input

Bad paths return a 400 instead.

If the path is not numeric or outside the final-response status-code range, the service responds with 400 Bad Request.

curl -i https://status.awsm.io/nope

HTTP/2 400
{"error":"Invalid status code"}

Use /204, /205, or /304 when you need to test empty response bodies.

About this tool

Point a client, webhook sender or test script at status.awsm.io and it replies with the HTTP status code you ask for. It is useful for checking how your code handles redirects, rate limits and server errors.