request | R Documentation |
Performs a GET
request on the endpoint as specified by
resource_url
.
request(
resource_url,
base_url = pgs_server(),
user_agent = user_agent_id(),
verbose = FALSE,
warnings = TRUE
)
resource_url |
Endpoint URL. The endpoint is internally appended to the
|
base_url |
The PGS REST API base URL. |
user_agent |
User agent. |
verbose |
Whether to be verbose. |
warnings |
Whether to print warnings. |
A named list of four elements:
The URL endpoint.
A string describing the status of the response obtained:
'OK'
if successful or a description of the error.
JSON response as string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.