URL-encoded request builder

[io/http/utils/URL-encoded request builder]

Builds a URL-encoded 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}

  • data: {string: (string or string[])}

Output ports

  • URL-enc. req.:

      "method": ("GET" or "POST" or "PUT" or "PATCH" or "DELETE"),
      "url": string,
      "headers": {string: string},
      "data": {string: (string or string[])}

Last updated