Send Request To Bin

postbin.send_request
ActionBusiness appsconnection required

Calls the PostBin API with the connection's credentials.

Send a test request into a bin so a downstream step can read it back.

Connection

Required
Yes — the node will not save without one
Auth type
No auth
Providers
PostBin
Secret shape
no credential — PostBin's API is public; the connection is just a host
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
bin_id
The bin identifier PostBin issued, as postbin.create_bin returns it in 'bin_id'. Pass the bare id, not the full bin URL.
stringYes——1234567890123-1234567890123
method
The HTTP method to send with; PostBin collects any of them.
stringNoPOSTone of "POST", "GET", "PUT", "PATCH", "DELETE"—
body
JSON body to send; PostBin stores it under the request's 'body'. Ignored for GET.
objectNo——{"event":"test"}
query
Query-string parameters to append, as a flat object of name to value.
objectNo——{"source":"mantle"}

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "bin_id": "1234567890123-1234567890123",
  "body": {
    "event": "test"
  },
  "method": "POST",
  "query": {
    "source": "mantle"
  }
}

Output

One shape.

result

FieldTypeExample
bin_id
The bin the request was sent to.
string—
method
The HTTP method that was sent.
string—
url
The bin collection URL the request went to.
string—
req_id
The id PostBin gave the stored request, which postbin.get_request takes.
string—
{
  "bin_id": "",
  "method": "",
  "req_id": "",
  "url": ""
}

Notes

  • PostBin answers this call with the new request's id as plain text, not JSON.
  • A PostBin bin is discarded 30 minutes after it is created; every call on an expired bin answers 404 'No such bin'.

See Send Request To Bin run in a workflow.

In a technical demo we add the PostBin connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.