Loading API details
A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin
by Ozma PlatformFoundingA simple HTTP Request & Response Service.<br/> <br/> <b>Run locally: </b> <code>$ docker run -p 80:80 kennethreitz/httpbin</code>
| Method | Path | Summary | Price |
|---|---|---|---|
| GET | /brotli | Returns Brotli-encoded data. | FREE |
| GET | /cache | Returns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise. | FREE |
| GET | /digest-auth/{qop}/{user}/{passwd}/{algorithm} | Prompts the user for authorization using Digest Auth + Algorithm. | FREE |
| GET | /encoding/utf8 | Returns a UTF-8 encoded body. | FREE |
| GET | /get | The request's query parameters. | FREE |
| GET | /deny | Returns page denied by robots.txt rules. | FREE |
| GET | /absolute-redirect/{n} | Absolutely 302 Redirects n times. | FREE |
| DELETE | /anything | Returns anything passed in request data. | FREE |
| PATCH | /anything | Returns anything passed in request data. | FREE |
| POST | /anything | Returns anything passed in request data. | FREE |
| PUT | /anything | Returns anything passed in request data. | FREE |
| DELETE | /anything/{anything} | Returns anything passed in request data. | FREE |
| GET | /anything/{anything} | Returns anything passed in request data. | FREE |
| PATCH | /anything/{anything} | Returns anything passed in request data. | FREE |
| POST | /anything/{anything} | Returns anything passed in request data. | FREE |
| PUT | /anything/{anything} | Returns anything passed in request data. | FREE |
| PATCH | /delay/{delay} | Returns a delayed response (max of 10 seconds). | FREE |
| POST | /delay/{delay} | Returns a delayed response (max of 10 seconds). | FREE |
| PUT | /delay/{delay} | Returns a delayed response (max of 10 seconds). | FREE |
| DELETE | /delete | The request's DELETE parameters. | FREE |
| GET | /digest-auth/{qop}/{user}/{passwd} | Prompts the user for authorization using Digest Auth. | FREE |
| GET | /basic-auth/{user}/{passwd} | Prompts the user for authorization using HTTP Basic Auth. | FREE |
| GET | /bytes/{n} | Returns n random bytes generated with given seed | FREE |
| GET | /cache/{value} | Sets a Cache-Control header for n seconds. | FREE |
| GET | /cookies | Returns cookie data. | FREE |
| GET | /cookies/delete | Deletes cookie(s) as provided by the query string and redirects to cookie list. | FREE |
| GET | /cookies/set | Sets cookie(s) as provided by the query string and redirects to cookie list. | FREE |
| GET | /cookies/set/{name}/{value} | Sets a cookie and redirects to cookie list. | FREE |
| GET | /deflate | Returns Deflate-encoded data. | FREE |
| DELETE | /delay/{delay} | Returns a delayed response (max of 10 seconds). | FREE |
| GET | /delay/{delay} | Returns a delayed response (max of 10 seconds). | FREE |
| GET | /digest-auth/{qop}/{user}/{passwd}/{algorithm}/{stale_after} | Prompts the user for authorization using Digest Auth + Algorithm. | FREE |
| GET | /etag/{etag} | Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately. | FREE |
| GET | /gzip | Returns GZip-encoded data. | FREE |
| GET | /headers | Return the incoming request's HTTP headers. | FREE |
| GET | /hidden-basic-auth/{user}/{passwd} | Prompts the user for authorization using HTTP Basic Auth. | FREE |
| GET | /html | Returns a simple HTML document. | FREE |
| GET | /image/jpeg | Returns a simple JPEG image. | FREE |
| GET | /image/png | Returns a simple PNG image. | FREE |
| GET | /image/svg | Returns a simple SVG image. | FREE |
| GET | /image/webp | Returns a simple WEBP image. | FREE |
| GET | /ip | Returns the requester's IP Address. | FREE |
| GET | /json | Returns a simple JSON document. | FREE |
| GET | /links/{n}/{offset} | Generate a page containing n links to other pages which do the same. | FREE |
| PATCH | /patch | The request's PATCH parameters. | FREE |
| GET | /anything | Returns anything passed in request data. | FREE |
| GET | /base64/{value} | Decodes base64url-encoded string. | FREE |
ozma call httpbin-org /brotli --jsonNo key yet? Run ozma register or sign up for $1 free credits.