Description Usage Arguments Value References See Also Examples
Takes the output of straighten()
and turns the parsed cURL command lines
into working httr
VERB()
functions, optionally cat
'ing the text of each function
to the console and/or replacing the system clipboard with the source code for the function.
1 |
x |
a vector of |
use_parts |
logical. If |
quiet |
if |
add_clip |
if |
a list
of working R function
s.
Evaluating Network Performance, Network Monitor
1 2 3 4 5 6 7 8 9 | library(httr)
my_ip <- straighten("curl 'https://httpbin.org/ip'") %>% make_req()
## Not run:
# external test which captures live data
content(my_ip[[1]](), as="parsed")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.