# NOT RUN {
capture_requests({
GET("http://httpbin.org/get")
GET("http://httpbin.org")
GET("http://httpbin.org/response-headers",
query=list(`Content-Type`="application/json"))
})
# Or:
start_capturing()
GET("http://httpbin.org/get")
GET("http://httpbin.org")
GET("http://httpbin.org/response-headers",
query=list(`Content-Type`="application/json"))
stop_capturing()
# }
Run the code above in your browser using DataLab