arc_base_req {arcgisutils} | R Documentation |
Generate base request
Description
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.
Usage
arc_base_req(url, token = NULL, error_call = rlang::caller_env())
Arguments
url |
a valid url that is passed to |
token |
an object of class |
error_call |
the caller environment to be used when propagating errors. |
Examples
arc_base_req("https://arcgis.com")
[Package arcgisutils version 0.2.0 Index]