get params
This block is part of the http connection group and was last modified in core v10.4.28.
get params v10.4.28 Returns all params if present, params are optional or required parameters in API URIs, for example :name.
In pins 1
- connection required
httpconnection
Out pins 1
- params
object
Outputs the URL path parameters of the matched route as an object, e.g. route customers/:id with /customers/42 -> {id: "42"}. When the connection pin is unwired it falls back to the params seeded on the currently running function; emits nil when there are no params.
A typical wiring for get params: current request feeds the connection pin; the params out pin feeds get fields.
Commonly used with
In production blueprints, this block is most often wired together with:
- current request: feeds into this block. Retrieves a reference to the current HTTP Connection.
- get fields: this block feeds into it. Gets the selected fields from the given object.
Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v10.4.28.
Back to
http connection Return to the main group to view all sub-groups Back to http Return to the group to view all blocks within this group 