Nothing
Code
req_perform_promise(1)
Condition
Error in `req_perform_promise()`:
! `req` must be an HTTP request object, not the number 1.
Code
req_perform_promise(req, path = 1)
Condition
Error in `req_perform_promise()`:
! `path` must be a single string or `NULL`, not the number 1.
Code
req_perform_promise(req, pool = "INVALID")
Condition
Error in `req_perform_promise()`:
! `pool` must be a {curl} pool or `NULL`, not the string "INVALID".
Code
req_perform_promise(req, verbosity = "INVALID")
Condition
Error in `req_perform_promise()`:
! `verbosity` must 0, 1, 2, or 3.
Code
. <- extract_promise(req_perform_promise(req, verbosity = 1))
Output
-> GET /get HTTP/1.1
-> Host: <variable>
-> User-Agent: <variable>
-> Accept: */*
-> Accept-Encoding: <variable>
->
<- HTTP/1.1 200 OK
<- Date: <variable>
<- Content-Type: application/json
<- Content-Length: <variable>
<- ETag: <variable>
<-
Code
p4 <- req_perform_promise(request_test("/get"))
Condition
Error in `req_perform_promise()`:
! Must supply `pool` when calling `later::with_temp_loop()`.
i Do you need `pool = curl::new_pool()`?
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.