Container Input (Raw HTTP)

When an external caller executes the workflow with this node via an HTTP call to the KNIME Server / Hub REST API, the HTTP body, headers, and query parameters are captured and exposed as tables. The body is provided in a table containing binary data, while the headers and query parameters are provided in separate data tables.

This node works only with the raw-execution endpoint of the KNIME Server / Hub REST API. To learn more, check out the Hub API documentation or the API documentation of your KNIME Server.

Other container input nodes rely on body data to be provided in a JSON format. However, the "Container Input (Raw HTTP)" node can deal with arbitrary data, which is provided to the workflow as-is in a binary format. Therefore, the user is able to also input non-standard data, like for example an Excel spreadsheet (*.xlsx files). Furthermore, because of the removed format constraint, this node is compatible with a wider range of external tools.

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

Options

Enable file output for body
Whether to use a default body file when no actual request is available. If enabled, the file selected below is used as the body. If disabled, an empty body is returned.
File for response body
File chooser for selecting a file containing the body. This default body is returned while building the workflow when no actual request is available.
Default headers
The default headers to return while building the workflow when no actual request is available.
  • Key: Key of the HTTP parameter.
  • Value: Value of the HTTP parameter.
Default query parameters
The default query parameters to return while building the workflow when no actual request is available.
  • Key: Key of the HTTP parameter.
  • Value: Value of the HTTP parameter.

Input Ports

Icon
The file system connection for retrieving the body file.

Output Ports

Icon
Table containing a single binary body value in the column body.
Icon
Table containing one column for each header.
Icon
Table containing one column for each query parameter.

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.