Hub
Pricing About
ComponentComponent

Multipart Form-Data Builder

RESTAPIMultipart
knime profile image
Versionv3.0Latest, created on 
Jan 9, 2026 3:22 PM
Drag & drop
Like
Use or download

Build multipart request bodies as binary objects for use with KNIME REST nodes.

This component builds a valid multipart/form-data request body as a binary object, ready to be sent with KNIME’s native REST nodes.
Since REST nodes in KNIME currently do not support multipart requests directly, this component fills the gap without requiring any scripting.

To craft the request body, you need a table with the following columns (the column names can be arbitrary, as you select them in the configuration dialog):

Content → the request payload reference. This column must be of type String. The value can be:

  • a plain string (e.g., "Hello world")

  • a KNIME workflow data link (knime://...) pointing to data stored in the workflow

  • a file path resolved via the connected file system (absolute or relative)

Content Type → the MIME type of the payload. Supported values include:

  • application/json

  • text/plain

  • text/html

  • text/csv

  • image/svg+xml

  • application/pdf

  • application/zip

  • application/octet-stream

  • image/png

Field Name → the form field name required by your target API.

Filename (optional) → only needed if the API expects a filename (for file uploads).

The component provides a file system input port that can be connected to different file system sources, such as:

  • Local File System Connector

  • Mountpoint Connector

  • Data Area Connector

When a file system is connected, file references in the Content column are resolved against it. This makes file handling more flexible and portable, and allows the use of relative paths.

In addition, the multipart Content-Type is configurable in the dialog. It defaults to multipart/form-data, but you can also set a different multipart type if required by your API.

If an unsupported MIME type is provided, the component will fail with an error.

Component details

Input ports
  1. Type: Table
    Request data table
    Contains content, type, field name, and optional filename.
  2. Type: File System
    File System Connection
    File system used to resolve file paths provided in the Content column. Connect a Local File System, Mountpoint, or Data Area connector to reference files using absolute or relative paths when building the multipart request.
Output ports
  1. Type: Table
    Request body table
    Provides Content-Type header (with boundary) and binary request body.

External resources

  • "multipart/form-data" reference
  • Medium.com: Understanding multipart/form-data: The Ultimate Guide for Beginners

Used extensions & nodes

Created with KNIME Analytics Platform version 5.5.1 Note: Not all extensions may be displayed.
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime profile image
    knime
  • Go to item
    KNIME JSON-ProcessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime profile image
    knime
  • Go to item
    KNIME SVG SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime profile image
    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2026 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits