Skip to main content

httpRequest

Accepts incoming HTTP request data and passes it downstream. This is a flow entry point (is_input: true). It accepts any JSON object as its body and emits it as-is for downstream nodes to consume.

When the incoming data is a dict, it is shallow-copied and emitted under results. When it is not a dict, it is wrapped as {"data": <value>}. If the value of results is a list, the runner unwraps it for downstream iteration.

Parameters

Accepts any JSON object. There are no declared named parameters — the entire request body is consumed as a free-form dict.

ParamTypeDescription
(any key)anyThe full request body. All keys and values are passed through without modification

Output

FieldTypeDescription
resultsobjectShallow copy of the incoming request body. If the body was not a dict, returns {"data": <value>}

Example

Incoming request body:

{
"query": "What is CRISPR?",
"dataset_ids": [42, 87]
}

Node output:

{
"results": {
"query": "What is CRISPR?",
"dataset_ids": [42, 87]
}
}

Downstream nodes reference these fields as {{ @httpRequest.query }} and {{ @httpRequest.dataset_ids }}.