HTTPBin Example
connector.httpbin_example · connector.httpbin_example_trigger · developer_tools
Reference connector that exercises the connector format against httpbin.
Vendor API documentation: https://httpbin.org
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| No authentication | httpbin_example/none | none | ||
| Bearer token | httpbin_example/bearer | bearer | token (secret) | yes |
| Username and password | httpbin_example/basic | basic | username, password (secret) | yes |
| API key header | httpbin_example/api_key | api_key | api_key (secret) | yes |
| HMAC signed requests | httpbin_example/signed | hmac_header | secret (secret) | yes |
Actions
Node type connector.httpbin_example. Choose a resource and an operation; each operation has its own parameters.
Request
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a GET request | request.get | reads | 1 | |
| Send JSON | request.post_json | writes | 1 | |
| Send a form | request.post_form | writes | 1 | |
| Upload a file | request.upload | writes | 1 | |
| Upload raw bytes | request.put_raw | writes | 1 | |
| Send an email message | request.send_email | writes | 1 | |
| Two dependent requests | request.chain | reads | 1 | |
| One request per value | request.fan_out | reads | 1 |
Send a GET request
Operation request.get. Sends query parameters and returns what the server received.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | json | {} | Object of query parameters. | ||
tag | string |
Send JSON
Operation request.post_json.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | |||
count | number | ||||
note | string | ||||
tags | multi_options | One of red, green, blue. |
Send a form
Operation request.post_form.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
fields | json | yes | |||
style | options | "brackets" | One of brackets, repeat, comma, indices. |
Upload a file
Operation request.upload.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | |||
title | string |
Upload raw bytes
Operation request.put_raw.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" |
Send an email message
Operation request.send_email. Builds a MIME message and posts it base64url encoded, like mail APIs expect.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
to | string | yes | |||
subject | string | yes | |||
text | string |
Two dependent requests
Operation request.chain.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
value | string | yes |
One request per value
Operation request.fan_out.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
values | json | yes |
Status code
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Return a status code | status.get | reads | 2 |
Return a status code
Operation status.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
code | number | 200 | yes |
Authentication check
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Check bearer token | auth.bearer | reads | 1 | |
| Check username and password | auth.basic | reads | 1 | |
| Show request headers | auth.headers | reads | 2 |
Check bearer token
Operation auth.bearer.
This node has no parameters.
Check username and password
Operation auth.basic.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | string | yes | |||
password | string | yes |
Show request headers
Operation auth.headers.
This node has no parameters.
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Download a PNG image | file.download_png | reads | 1 |
Download a PNG image
Operation file.download_png.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | string | "data" |
Slide
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List slides | slide.list | reads | yes | 2 |
List slides
Operation slide.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
slides | client-side |
Triggers
Node type connector.httpbin_example_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New UUID | new_uuid | poll | {{ item.uuid }} | 0 | ||
| Signed event | event | webhook | hmac_sha256 | automatic | 0 |
Trigger: New UUID
Emits each UUID the service returns that was not seen before.
This node has no parameters.
Trigger: Signed event
Receives events signed with HMAC-SHA256.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
secret | string | yes | Shared signing secret. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation: