Get response body, fail with an error if it has one

gorr__get_response_body(
  response,
  content.fun = purrr::partial(httr::content, encoding = "UTF-8", show_col_types =
    FALSE)
)

Arguments

response

from e.g. POST, GET, DELETE

content.fun

content function used to extract content from the response, e.g. text_content

Value

response body from (content)