resp_request {httr2} | R Documentation |
Find the request responsible for a response
Description
To make debugging easier, httr2 includes the request that was used to generate every response. You can use this function to access it.
Usage
resp_request(resp)
Arguments
resp |
A httr2 response object, created by |
Examples
req <- request(example_url())
resp <- req_perform(req)
resp_request(resp)
[Package httr2 version 1.1.2 Index]