arc_base_req | R Documentation |
This function takes a url and creates a basic httr2 request that
adds the user-agent and adds an authorization token to the
X-Esri-Authorization
header.
arc_base_req(
url,
token = NULL,
path = NULL,
query = NULL,
error_call = rlang::caller_env()
)
url |
a valid url that is passed to |
token |
an object of class |
path |
a character vector of paths to be appended to url using |
query |
a named vector or named list of query parameters to be appended to the url using |
error_call |
the caller environment to be used when propagating errors. |
arc_base_req("https://arcgis.com")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.