---
title: "raw request · RUAL Documentation"
description: "Perform a raw GET request against any NS Reisinformatie API path. Use this for endpoints without a dedicated block."
canonical: https://docs.rual.nl/block-types/NS/nsconnection_request
language: en
---

# raw request

This block is part of the [`NS`](https://docs.rual.nl/block-types/NS) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Perform a raw GET request against any NS Reisinformatie API path. Use this for endpoints without a dedicated block.

- flow `flow`

- Connection required `nsconnection` The NS connection.

- Path required `value` API path, e.g. /api/v2/stations or /api/v3/price.

- Query `object` Optional object of query parameters to send.

- flow `flow`

- Connection `nsconnection` The NS connection.

- Success `condition` True for a 2xx response.

- Status code `number` The HTTP status code of the response.

- Response `object` The decoded JSON response body.

- Error `value` Error message if the request failed.

| `ns request` |
| --- |
| `custom` |

A typical wiring for [raw request](https://docs.rual.nl/block-types/NS/nsconnection_request): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/NS/nsconnection_open) feeds the `connection` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `path` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the raw request block: typical wiring for raw request.](https://docs.rual.nl/canvas-examples/nsconnection_request.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
