The Request block

Request block

The Request block takes request data sent to a deployed action's URL and routes that data through its Headers, Params, and Body output ports. Every new action automatically includes one Request block. Request blocks can't be added or deleted.

Outputs

  • Headers - Outputs the headers from the request sent to the deployed action's URL.
  • Params - Outputs the query parameters from the request sent to the deployed action's URL.
  • Body - Outputs the body from the request sent to the deployed action's URL. Actions support JSON and form-urlencoded formats. For example, a form-urlencoded request body with category=books&id=101&id=102&id=103 would return the following:
{
  "category": ["books"],
  "id": ["101", "102", "103"]
}

Setup

To process headers, parameters, or body data from a request sent to the deployed action's URL, connect one or more blocks to the corresponding output port.

Last modified: 2025/04/22