query | R Documentation |
Make an API request with retries
query(
base,
path,
method = c("GET", "POST", "PUT", "DELETE"),
params = list(),
body = NULL,
config = config(),
retry = method == "GET",
retries = 0
)
base |
URL |
path |
string |
method |
HTTP request method |
params |
URL parameters provided as a list |
body |
body of the request |
config |
httr::config |
retry |
allow retrying the query on failure |
retries |
internal counter of previous retries |
raw object returned by httr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.