Httpbin
Httpbin is a test web service that returns HTTP request and response data for debugging and testing APIs.
- Base URL:
https://httpbin.org - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_absolute_redirect_n— GET /absolute-redirect/{n} — Absolutely 302 Redirects n times.get_anything— GET /anything — Returns anything passed in request data.get_anything_anything— GET /anything/{anything} — Returns anything passed in request data.get_base64_value— GET /base64/{value} — Decodes base64url-encoded string.get_basic_auth_user_passwd— GET /basic-auth/{user}/{passwd} — Prompts the user for authorization using HTTP Basic Auth.get_bearer— GET /bearer — Prompts the user for authorization using bearer authentication.
Inputs
apiKey— your httpbin API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_absolute_redirect_n
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_absolute_redirect_n, get_anything, get_anything_anything, get_base64_value, get_basic_auth_user_passwd, get_bearer |
anything |
string | no | — | Path parameter anything (required by some operations). |
n |
string | no | — | Path parameter n (required by some operations). |
passwd |
string | no | — | Path parameter passwd (required by some operations). |
user |
string | no | — | Path parameter user (required by some operations). |
value |
string | no | — | Path parameter value (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |