request | R Documentation |
To perform a HTTP request, first create a request object with request()
,
then define its behaviour with req_
functions, then perform the request
and fetch the response with req_perform()
.
request(base_url)
base_url |
Base URL for request. |
An HTTP response: an S3 list with class httr2_request
.
request("http://r-project.org")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.