S3 method to turn curl response into character
Converts a raw curl response into a character string.
## S3 method for class 'response' as.character(x, ...)
x
: response from curl to render to character...
: If type='text/csv' this is passed to read.csv. If type='application/json' this is sent to jsonlite::fromJSON