An HTTP request & response testing service inspired by httpbin.org, running on Cloudflare Workers.
More reliable, faster, and more modern.
Accept-Encoding: br
header.Accept-Encoding: deflate
header.Accept-Encoding: gzip
header.Accept-Encoding: zstd
header.Testing an HTTP library can become difficult sometimes. RequestBin is fantastic for testing POST requests, but doesn't let you control the response. This exists to cover all kinds of HTTP scenarios. Additional endpoints are being considered.
All endpoint responses are JSON-encoded.
$ curl https://httpspot.dev/ip
{ "origin": "127.0.0.1" }
$ curl https://httpspot.dev/user-agent
{ "user-agent": "curl/7.79.1" }
$ curl -I https://httpspot.dev/status/418
HTTP/1.1 418 I'm a teapot Date: Mon, 01 Jan 2025 12:00:00 GMT Content-Type: application/json Content-Length: 135 Connection: close Server: cloudflare Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true
$ curl https://httpspot.dev/anything -d "data"
{ "args": {}, "data": "data", "files": {}, "form": {}, "headers": { "accept": "*/*", "content-length": "4", "content-type": "application/x-www-form-urlencoded", "host": "httpspot.dev", "user-agent": "curl/7.79.1" }, "json": null, "method": "POST", "origin": "127.0.0.1", "url": "https://httpspot.dev/anything" }