Container Output (Raw HTTP)

This node reads the first cell of a string or binary column from a table and makes its content available to an external caller as body of an HTTP Request. Columns from the second input table are sent as HTTP response headers. If no content-type header is specified in the header table, application/octet-stream is returned.

Other container output nodes only offer the body data of the response to be sent in a JSON format. However, this "Raw HTTP Output Container" node can send arbitrary data back to the client. Therefore, the user is able to receive non-standard data, for example an Excel spreadsheet (*.xlsx files). Another use case would be to have node respond with an HTML body. The workflow could then be used to generate web pages on request.

Important: There can only be one "Container Output (Raw HTTP)" node in a workflow, as it generates the response for the client. Additionally, this output node is only compatible with the "Container Input (Raw HTTP)" node. This means, no other container input node will be supported with this raw HTTP output container.

Options

Status code
The HTTP status code which is sent back to the client.
Body column
Selector for the column in the input table which is sent back as response body.

Input Ports

Icon
A table containing a string or binary column whose content is sent back to the caller as body.
Icon
A table containing headers made available to the caller. Each column is treated as a header, with the column name being the header name and the value in the first row being the value for the header.

Output Ports

This node has no output ports

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.