Skip to contents

The function stops with error if the GET request returns status != 200

Usage

httr_get_or_fail(url, handle = NULL)

Arguments

url

URL to which to send a GET request

handle

passed to GET

Value

If the status was not 200, the function returns what GET returned