This vignette tests that we can replay cassettes created by vcr::setup_knitr().
vcr::setup_knitr()
req <- request(httpbin$url("/get")) req_perform(req) #> <httr2_response> #> GET http://127.0.0.1:57455/get #> Status: 200 OK #> Content-Type: application/json #> Body: In memory (270 bytes)
req <- request(httpbin$url("/get?x=1")) req_perform(req) #> <httr2_response> #> GET http://127.0.0.1:57455/get?x=1 #> Status: 200 OK #> Content-Type: application/json #> Body: In memory (286 bytes)