| resp_url | R Documentation |
resp_url() returns the complete url.
resp_url_path() returns the path component.
resp_url_query() returns a single query component.
resp_url_queries() returns the query component as a named list.
resp_url(resp)
resp_url_path(resp)
resp_url_query(resp, name, default = NULL)
resp_url_queries(resp)
resp |
A httr2 response object, created by |
name |
Query parameter name. |
default |
Default value to use if query parameter doesn't exist. |
resp <- request(example_url()) |>
req_url_path("/get") |>
req_url_query(hello = "world") |>
req_perform()
resp |> resp_url()
resp |> resp_url_path()
resp |> resp_url_queries()
resp |> resp_url_query("hello")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.