Skip to main content

GET /{url}

Description

Gets rows data for the table and returns a JSON array with the data

The route handles the HTTP GET request made to the /{url} path.

Parameters

The following path parameters are sent in the request line:

NameTypeDescription
urlstringRequired. A custom provided url segment.

For example, https://urlwithdata.io/films

Payload

No payload is required.

Response

The server returns an array with the requested data.

Example:

[{ 
"id": 5,
"name": "Kwan123",
"year": 10,
"votes": 0
}]

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: