Form request builder

[io/http/utils/Form request builder]


Builds a form request record with data to be sent as the request's body. For body-less requests, see io/http/utils/Body-less request builder.


Input ports

  • 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

  • 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
        }[]
      }
    }

Last updated