Railway

Deploy httpbin-python

The original Python httpbin. HTTP request & response testing, zero config.

Deploy httpbin-python

Just deployed

httpbin (Python) — The Original HTTP Request & Response Service

The classic httpbin by Kenneth Reitz — the original Python/Flask HTTP testing service behind httpbin.org, running the official kennethreitz/httpbin image.

> Looking for a lighter, actively maintained port? See the Go version (go-httpbin template) — same API, smaller footprint. This template is the original, for when you want exact httpbin.org behavior.

What it does

httpbin echoes back whatever you throw at it — the standard tool for testing HTTP clients, webhooks, proxies, and API integrations:

  • /get, /post, /put, /patch, /delete — inspect method, headers, args, and body
  • /status/{code} — return any HTTP status code (test error handling)
  • /delay/{seconds} — delayed responses (test timeouts and retries)
  • /headers, /ip, /user-agent — see what your client actually sends
  • /redirect/{n} — test redirect following
  • /gzip, /deflate, /brotli — compressed response handling
  • /basic-auth, /bearer, /digest-auth — auth flow testing
  • /cookies, /cache, /etag — cookie and caching behavior
  • /anything — echo absolutely anything

Interactive Flasgger API docs served at the root URL.

Usage

After deploy, hit your service URL:

curl https:///get
curl -X POST https:///post -d '{"hello":"world"}'
curl https:///status/418

Configuration

None. No variables, no volume. The service listens on port 80 (start command binds gunicorn to [::]:80 for Railway's IPv6 private network).


Template Content

More templates in this category

View Template
Rocky Linux
[Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
19
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
50