powered by
Write out a captured response
save_response(response, simplify = TRUE)
An 'httr' response object
response
logical: if TRUE (default), JSON responses with status 200 will be written as just the text of the response body. In all other cases, and when simplify is FALSE, the "response" object will be written out to a .R file using base::dput().
TRUE
simplify
FALSE
base::dput()
The character file name that was written out