Form request body builder

[io/http/utils/Form request body builder]


Builds the body of a "multipart/form-data" request. Form requests are mostly used for uploading files.


Keywords: multipart, form-data, request, body, payload, upload

Input ports

  • form:

    {
      "boundary": string,
      "fields": {
        "name": string,
        "data": string,
        optional "fileName": string,
        optional "contentType": string
      }[]
    }

    Receives a data structure that describes form values

Output ports

  • body: string

    Sends base64-encoded "multipart/form-data" request body

Last updated