There are two parts in response: response status and response content. The status report whether the request is success, and the content is the return value of API call.
get_response(res, content_echo = TRUE)
If no_echo
is FALSE, the response object in prettified json
format
Run function without assigning return value will print both status and response in console. Assigning return value will only print the status in console, then save the content in prettified json format.
Function will stop for http error.