Icon

mutlipart-form workflow

<p>This workflow demonstrates how to build and send multipart/form-data request bodies using the <strong>Multipart Form-Data Builder</strong> component.</p><p></p><p>A loop is included to show how multiple requests can be generated by grouping on a unique key, with each key resulting in one request body.</p><p></p><p>The table input is preconfigured with file names that are resolved via the connected <strong>Workflow Data Area Connector</strong> node.</p><p><br>The parent folder is provided implicitly through the file system connection, allowing the workflow to run out of the box without <em>knime://</em> links.</p><p></p><p>You can replace the file names with your own values and connect a different file system (for example, Local File System or Mountpoint) depending on where your files are stored.</p>


Multipart Builder Example

  • Compatible with AP 5.5.1 or greater

  • 🔎 For details on how the component itself works, click the component icon and read its description.

  • ✅ The input table is hardcoded to use knime:// links, pointing to files shipped with this workflow (ready to test without external setup).

  • 🔁 The Group Loop demonstrates how to handle multiple multipart requests: each unique key in the table produces one request body.

  • 🌐 The POST Request node is configured to send results to webhook.site.


🎯POST REQUEST Target

This node sends the multipart request to webhook.site.

  • To inspect the request payload, you must configure your own webhook endpoint:

    • Open https://webhook.site in your browser

    • Copy your personal endpoint URL

    • Open the POST Request node configuration

    • Paste the copied URL into the request URL field

    • Execute the workflow to inspect the request in your webhook.site inbox

    The previously provided demo URL is expired and will not work.

Demo Input Data
  • Preconfigured rows so the workflow runs out of the box

  • Content column uses knime:// paths in the workflow data area

  • When referencing files, make sure to connect the appropriate file system connector depending on where the files are stored (for example: Local File System, Data Area, or Mountpoint on KNIME Hub).

  • Each row defines content, MIME type, field name, and optional filename

  • Use this table as a template for your own tests

Multipart Form-Data Builder
All the example filesare stored in theworkflow data area
Workflow Data Area Connector
Group Loop Start
POST Request
Loop End
Table Creator

Nodes

Extensions

Links