Send GET Request to Postgres API

postgres_get(path, ...)

Arguments

path

relative path, e.g. bathingspots/1 to get data for bathingspot with ID 1

...

further arguments passed to fhpredict:::postgres_request

Value

In case of success this function returns what httr::content(response, as = "parsed") returns. In case of failure an empty list with attribute response (containing the response object returned by GET) is returned.