raw request
This block is part of the NS group and was last modified in core v15.0.0.
raw request v15.0.0 Perform a raw GET request against any NS Reisinformatie API path. Use this for endpoints without a dedicated block.
In pins 3 + flow
- flow
flow - Connection required
nsconnectionThe NS connection.
- Path required
valueAPI path, e.g. /api/v2/stations or /api/v3/price.
- Query
objectOptional object of query parameters to send.
Out pins 5 + flow
- flow
flow - Connection
nsconnectionThe NS connection.
- Success
conditionTrue for a 2xx response.
- Status code
numberThe HTTP status code of the response.
- Response
objectThe decoded JSON response body.
- Error
valueError message if the request failed.
ns request |
custom |
A typical wiring for raw request: a function trigger starts the flow; open connection feeds the connection pin; value feeds the path pin; the flow out pin feeds debug.

Version history
Introduced in v15.0.0.
Back to
NS Return to the main group to view all sub-groups Back to NS Return to the group to view all blocks within this group
