api_handle_response: Handle an API response

View source: R/api_url.R

api_handle_responseR Documentation

Handle an API response

Description

Fail, with information, if the status code is not 200. Return the parsed response content otherwise.

Usage

api_handle_response(x)

Arguments

x

an httr::response object.


jiho/ecotaxar documentation built on Jan. 16, 2024, 12:26 a.m.