Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

handleAPIresponse

Do the right thing with the HTTP response


Description

Do the right thing with the HTTP response

Usage

handleAPIresponse(response, special.statuses = list())

Arguments

response

an httr response object

special.statuses

an optional named list of functions by status code.

Value

The full HTTP response object, just the content, or any other status-specific action


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.