Download the response of a request to a file
Usage
download_to(x, destfile, ...)
Arguments
- x
An httr2 request object
- destfile
A character string with the path to the file to save the response
- ...
saved for future use
Details
Download the response of a request to a file, but allows for different
format specifications e.g. csv, json, xml