httpbin.org

A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin

73 endpoints developer_tools
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (3 total)

pip install httpbin-python-sdk
pip install httpbin_sdk
# Maven: see https://github.com/konfig-sdks/httpbin-java-sdk
curl examples
Returns the requester's IP Address.
curl \
  https://httpbin.org/ip
The request's query parameters.
curl \
  https://httpbin.org/get
Returns a simple XML document.
curl \
  https://httpbin.org/xml
Endpoints (73 total)
GET
/ip
Returns the requester's IP Address.
GET
/get
The request's query parameters.
GET
/xml
Returns a simple XML document.
GET
/deny
Returns page denied by robots.txt rules.
GET
/drip
Drips data over a duration after an optional initial delay.
GET
/gzip
Returns GZip-encoded data.
GET
/html
Returns a simple HTML document.
GET
/json
Returns a simple JSON document.
GET
/uuid
Return a UUID4.
GET
/cache
Returns a 304 if an If-Modified-Since header or If-None-Match is present. Ret…
GET
/image
Returns a simple image of the type suggest by the Accept header.
GET
/bearer
Prompts the user for authorization using bearer authentication.
Language coverage
Python
2
Java
1
At a glance
Total SDKs3
Languages2
Endpoints73
Categories1
https://httpbin.org