tests/testthat/_snaps/request_make.md

request_make() errors for invalid HTTP methods

Code
  request_make(list(method = httr::GET))
Condition
  Error in `request_make()`:
  ! `x$method` must be a single string, not a function.
Code
  request_make(list(method = "PETCH"))
Condition
  Error in `request_make()`:
  ! Not a recognized HTTP method: `PETCH`.


Try the gargle package in your browser

Any scripts or data that you put into this service are public.

gargle documentation built on July 26, 2023, 5:29 p.m.