Closed jonmcalder closed 4 years ago
From the httr vignette:
warn_for_status(r) stop_for_status(r) I highly recommend using one of these functions whenever you’re using httr inside a function (i.e. not interactively) to make sure you find out about errors as soon as possible.
warn_for_status(r) stop_for_status(r)
I highly recommend using one of these functions whenever you’re using httr inside a function (i.e. not interactively) to make sure you find out about errors as soon as possible.
From the httr vignette: