resp_raw | R Documentation |
This function reconstructs the HTTP message that httr2 received from the server. It's unlikely to be exactly byte-for-byte identical (because most servers compress at least the body, and HTTP/2 can also compress the headers), but it conveys the same information.
resp_raw(resp)
resp |
A httr2 response object, created by |
resp
(invisibly).
resp <- request(example_url()) |>
req_url_path("/json") |>
req_perform()
resp |> resp_raw()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.