powered by
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 )
The request result, as a character value.
A sched:Request object.
sched:Request
The user agent, as a character value. Example: "myapp ; my.name@my.addr"
Set to FALSE if you want to disable SSL verification for https sites. TRUE by default.
FALSE
TRUE
Set to TRUE if the content to be retrieved is binary.
# 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))
Run the code above in your browser using DataLab