get_url_request_result | R Documentation |
Send the request described by a Request instance, using the provided user agent, and return the results.
get_url_request_result(
request,
useragent = NULL,
ssl_verifypeer = TRUE,
binary = FALSE
)
request |
A |
useragent |
The user agent, as a character value. Example: "myapp ; my.name@my.addr" |
ssl_verifypeer |
Set to |
binary |
Set to TRUE if the content to be retrieved is binary. |
The request result, as a character value.
# Retrieve the content of a web page
u <- sched::URL$new('https://httpbin.org/get')
content <- sched::get_url_request_result(sched::Request$new(u))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.