httpbin.org
A simple HTTP Request & Response Service.
Run locally: $ docker run -p 80:80 kennethreitz/httpbin
- Homepage
- https://api.apis.guru/v2/specs/httpbin.org/0.9.2.json
- Provider
- httpbin.org
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/httpbin.org/0.9.2/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/httpbin.org/0.9.2/openapi.yaml
Tools (80)
Extracted live via the executor SDK.
-
anything.deleteAnythingReturns anything passed in request data.
-
anything.deleteAnythingAnythingReturns anything passed in request data.
-
anything.getAnythingReturns anything passed in request data.
-
anything.getAnythingAnythingReturns anything passed in request data.
-
anything.patchAnythingReturns anything passed in request data.
-
anything.patchAnythingAnythingReturns anything passed in request data.
-
anything.postAnythingReturns anything passed in request data.
-
anything.postAnythingAnythingReturns anything passed in request data.
-
anything.putAnythingReturns anything passed in request data.
-
anything.putAnythingAnythingReturns anything passed in request data.
-
anything.traceAnythingReturns anything passed in request data.
-
anything.traceAnythingAnythingReturns anything passed in request data.
-
auth.getBasicAuthUserPasswdPrompts the user for authorization using HTTP Basic Auth.
-
auth.getBearerPrompts the user for authorization using bearer authentication.
-
auth.getDigestAuthQopUserPasswdPrompts the user for authorization using Digest Auth.
-
auth.getDigestAuthQopUserPasswdAlgorithmPrompts the user for authorization using Digest Auth + Algorithm.
-
auth.getDigestAuthQopUserPasswdAlgorithmStaleAfterallow settings the stale_after argument.
-
auth.getHiddenBasicAuthUserPasswdPrompts the user for authorization using HTTP Basic Auth.
-
cookies.getCookiesReturns cookie data.
-
cookies.getCookiesDeleteDeletes cookie(s) as provided by the query string and redirects to cookie list.
-
cookies.getCookiesSetSets cookie(s) as provided by the query string and redirects to cookie list.
-
cookies.getCookiesSetNameValueSets a cookie and redirects to cookie list.
-
dynamicData.deleteDelayDelayReturns a delayed response (max of 10 seconds).
-
dynamicData.getBase64ValueDecodes base64url-encoded string.
-
dynamicData.getBytesNReturns n random bytes generated with given seed
-
dynamicData.getDelayDelayReturns a delayed response (max of 10 seconds).
-
dynamicData.getDripDrips data over a duration after an optional initial delay.
-
dynamicData.getLinksNOffsetGenerate a page containing n links to other pages which do the same.
-
dynamicData.getRangeNumbytesStreams n random bytes generated with given seed, at given chunk size per packet.
-
dynamicData.getStreamBytesNStreams n random bytes generated with given seed, at given chunk size per packet.
-
dynamicData.getStreamNStream n JSON responses
-
dynamicData.getUuidReturn a UUID4.
-
dynamicData.patchDelayDelayReturns a delayed response (max of 10 seconds).
-
dynamicData.postDelayDelayReturns a delayed response (max of 10 seconds).
-
dynamicData.putDelayDelayReturns a delayed response (max of 10 seconds).
-
dynamicData.traceDelayDelayReturns a delayed response (max of 10 seconds).
-
httpMethods.deleteDeleteThe request's DELETE parameters.
-
httpMethods.getGetThe request's query parameters.
-
httpMethods.patchPatchThe request's PATCH parameters.
-
httpMethods.postPostThe request's POST parameters.
-
httpMethods.putPutThe request's PUT parameters.
-
images.getImageReturns a simple image of the type suggest by the Accept header.
-
images.getImageJpegReturns a simple JPEG image.
-
images.getImagePngReturns a simple PNG image.
-
images.getImageSvgReturns a simple SVG image.
-
images.getImageWebpReturns a simple WEBP image.
-
redirects.deleteRedirectTo302/3XX Redirects to the given URL.
-
redirects.getAbsoluteRedirectNAbsolutely 302 Redirects n times.
-
redirects.getRedirectN302 Redirects n times.
-
redirects.getRedirectTo302/3XX Redirects to the given URL.
-
redirects.getRelativeRedirectNRelatively 302 Redirects n times.
-
redirects.patchRedirectTo302/3XX Redirects to the given URL.
-
redirects.postRedirectTo302/3XX Redirects to the given URL.
-
redirects.putRedirectTo302/3XX Redirects to the given URL.
-
redirects.traceRedirectTo302/3XX Redirects to the given URL.
-
requestInspection.getHeadersReturn the incoming request's HTTP headers.
-
requestInspection.getIpReturns the requester's IP Address.
-
requestInspection.getUserAgentReturn the incoming requests's User-Agent header.
-
responseFormats.getBrotliReturns Brotli-encoded data.
-
responseFormats.getDeflateReturns Deflate-encoded data.
-
responseFormats.getDenyReturns page denied by robots.txt rules.
-
responseFormats.getEncodingUtf8Returns a UTF-8 encoded body.
-
responseFormats.getGzipReturns GZip-encoded data.
-
responseFormats.getHtmlReturns a simple HTML document.
-
responseFormats.getJsonReturns a simple JSON document.
-
responseFormats.getRobotsTxtReturns some robots.txt rules.
-
responseFormats.getXmlReturns a simple XML document.
-
responseInspection.getCacheReturns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.
-
responseInspection.getCacheValueSets a Cache-Control header for n seconds.
-
responseInspection.getEtagEtagAssumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.
-
responseInspection.getResponseHeadersReturns a set of response headers from the query string.
-
responseInspection.postResponseHeadersReturns a set of response headers from the query string.
-
statusCodes.deleteStatusCodesReturn status code or random status code if more than one are given
-
statusCodes.getStatusCodesReturn status code or random status code if more than one are given
-
statusCodes.patchStatusCodesReturn status code or random status code if more than one are given
-
statusCodes.postStatusCodesReturn status code or random status code if more than one are given
-
statusCodes.putStatusCodesReturn status code or random status code if more than one are given
-
statusCodes.traceStatusCodesReturn status code or random status code if more than one are given
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools