request_make {gargle} | R Documentation |
Intended primarily for internal use in client packages that provide
high-level wrappers for users. request_make()
does very little: calls an
HTTP method, only adding a user agent. Typically the input is created with
request_build()
and the output is processed with response_process()
.
request_make(x, ..., user_agent = gargle_user_agent())
x |
List. Holds the components for an HTTP request, presumably created
with |
... |
Optional arguments passed through to the HTTP method. |
user_agent |
A user agent string, prepared by |
Object of class response
from httr.
Other requests and responses: request_develop
,
response_process
## Not run: req <- gargle::request_build( method = "GET", path = "path/to/the/resource", token = "PRETEND_I_AM_TOKEN" ) gargle::request_make(req) ## End(Not run)