Form-data request dispatcher

[io/http/Form-data request dispatcher]

Dispatches requests with content type "multipart/form-data". Expects the request body to be base64-encoded.

Keywords: file, image, video, upload, post, put, patch, fetch, api, data, multipart, form-data, base64

Input ports

  • form req.:

      "method": ("GET" or "POST" or "PUT" or "PATCH" or "DELETE"),
      "url": string,
      "headers": {string: string},
      "form": {
        "boundary": string,
        "fields": {
          "name": string,
          "data": string,
          optional "fileName": string,
          optional "contentType": string

Output ports

  • response:

    {"status": number, "headers": {string: any}, "body": string}
  • error: {"error": string}

Last updated