Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

MethodCredential kindAuth kindFieldsTest request
No authenticationhttpbin_example/nonenone
Bearer tokenhttpbin_example/bearerbearertoken (secret)yes
Username and passwordhttpbin_example/basicbasicusername, password (secret)yes
API key headerhttpbin_example/api_keyapi_keyapi_key (secret)yes
HMAC signed requestshttpbin_example/signedhmac_headersecret (secret)yes

Actions

Node type connector.httpbin_example. Choose a resource and an operation; each operation has its own parameters.

Request

OperationIDEffectPaginatedCassette tests
Send a GET requestrequest.getreads1
Send JSONrequest.post_jsonwrites1
Send a formrequest.post_formwrites1
Upload a filerequest.uploadwrites1
Upload raw bytesrequest.put_rawwrites1
Send an email messagerequest.send_emailwrites1
Two dependent requestsrequest.chainreads1
One request per valuerequest.fan_outreads1

Send a GET request

Operation request.get. Sends query parameters and returns what the server received.

NameTypeDefaultRequiredShown whenDescription
queryjson{}Object of query parameters.
tagstring

Send JSON

Operation request.post_json.

NameTypeDefaultRequiredShown whenDescription
namestringyes
countnumber
notestring
tagsmulti_optionsOne of red, green, blue.

Send a form

Operation request.post_form.

NameTypeDefaultRequiredShown whenDescription
fieldsjsonyes
styleoptions"brackets"One of brackets, repeat, comma, indices.

Upload a file

Operation request.upload.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"
titlestring

Upload raw bytes

Operation request.put_raw.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"

Send an email message

Operation request.send_email. Builds a MIME message and posts it base64url encoded, like mail APIs expect.

NameTypeDefaultRequiredShown whenDescription
tostringyes
subjectstringyes
textstring

Two dependent requests

Operation request.chain.

NameTypeDefaultRequiredShown whenDescription
valuestringyes

One request per value

Operation request.fan_out.

NameTypeDefaultRequiredShown whenDescription
valuesjsonyes

Status code

OperationIDEffectPaginatedCassette tests
Return a status codestatus.getreads2

Return a status code

Operation status.get.

NameTypeDefaultRequiredShown whenDescription
codenumber200yes

Authentication check

OperationIDEffectPaginatedCassette tests
Check bearer tokenauth.bearerreads1
Check username and passwordauth.basicreads1
Show request headersauth.headersreads2

Check bearer token

Operation auth.bearer.

This node has no parameters.

Check username and password

Operation auth.basic.

NameTypeDefaultRequiredShown whenDescription
userstringyes
passwordstringyes

Show request headers

Operation auth.headers.

This node has no parameters.

File

OperationIDEffectPaginatedCassette tests
Download a PNG imagefile.download_pngreads1

Download a PNG image

Operation file.download_png.

NameTypeDefaultRequiredShown whenDescription
binary_propertystring"data"

Slide

OperationIDEffectPaginatedCassette tests
List slidesslide.listreadsyes2

List slides

Operation slide.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
slidesclient-side

Triggers

Node type connector.httpbin_example_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New UUIDnew_uuidpoll{{ item.uuid }}0
Signed eventeventwebhookhmac_sha256automatic0

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.

NameTypeDefaultRequiredShown whenDescription
secretstringyesShared signing secret.

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation: