Retrieve the URL from a request.
req_get_url(req)A httr2 request object.
A character string.
request("https://httpbin.org") |>
req_url_path("/get") |>
req_url_query(hello = "world") |>
req_get_url()
#> [1] "https://httpbin.org/get?hello=world"