R/http-methods.R

Defines functions jGET

jGET <- function(url, query = NULL, ...) {
  cli <- crul::HttpClient$new(url = url, opts = list(...))
  res <- cli$get(query = query)
  res$raise_for_status()
  res$parse("UTF-8")
}

Try the jaod package in your browser

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

jaod documentation built on Dec. 3, 2020, 1:07 a.m.