How to Generate Multipart/Form-Data in Boomi Using Message Shape and Groovy Script
Modern businesses frequently exchange files between applications, APIs and enterprise systems. Whether the requirement involves uploading PDFs, spreadsheets, images or multiple documents, APIs need a reliable way to transfer different types of data within a single request. In Boomi integration services , Multipart/Form-Data is a useful approach for handling file-based API communication. Boomi provides multiple ways to construct multipart payloads, including the Message Shape and Groovy scripting within a Data Process Shape. Understanding Multipart/Form-Data Multipart/Form-Data is an HTTP encoding format commonly used to transfer files and additional form fields through POST requests. It separates individual data elements using a unique boundary string. A typical multipart request contains: Content-Type: Identifies the request format as multipart/form-data. Boundary: Separates individual sections of the request body. Content-Disposition: Specifies the form field name and file ...