Hub
Pricing About
ComponentComponent

Multipart Form-Data Builder

RESTAPIMultipart
KW
Versionv1.1Latest, created on 
Oct 29, 2025 2:58 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 local file path (e.g., C://...)

  • 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).

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.
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
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime
  • Go to item
    KNIME Basic File System ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME Column Expressions (legacy)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME JSON-ProcessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime
  • Go to item
    KNIME SVG SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.0

    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
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits