Send POST Request to Postgres API
postgres_post(path, body = NULL, encode = "json", ...)
path | relative path, e.g. |
---|---|
body | list with the fields to be set as |
encode | passed to |
... | further arguments passed to |
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 POST
) is returned.