Nothing
Code
resp_body_raw(resp1)
Condition
Error in `resp_body_raw()`:
! Can't retrieve empty body.
Code
resp_body_raw(resp2)
Condition
Error in `resp_body_raw()`:
! Can't retrieve empty body.
Code
resp_body_json(1)
Condition
Error in `resp_body_json()`:
! `resp` must be an HTTP response object, not the number 1.
Code
resp_body_xml(1)
Condition
Error in `resp_body_xml()`:
! `resp` must be an HTTP response object, not the number 1.
Code
request_test("/xml") %>% req_perform() %>% resp_body_json()
Condition
Error in `resp_body_json()`:
! Unexpected content type "application/xml".
* Expecting type "application/json" or suffix "json".
Code
request_test("/json") %>% req_perform() %>% resp_body_xml()
Condition
Error in `resp_body_xml()`:
! Unexpected content type "application/json".
* Expecting type "application/xml" or "text/xml" or suffix "xml".
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.