R/utils.R
httr_get_or_fail.Rd
The function stops with error if the GET request returns status != 200
httr_get_or_fail(url, handle = NULL)
URL to which to send a GET request
passed to GET
GET
If the status was not 200, the function returns what GET returned