api_get_request: Wrapper of httr::GET that handles status errors and custom...

Description Usage Arguments

View source: R/request_and_response.R

Description

Wrapper of httr::GET that handles status errors and custom headers

Usage

1
2
3
4
5
6
7
api_get_request(
  route,
  params,
  retry_times,
  retry_pause_min,
  call = sys.call(-1)
)

Arguments

route

An EpiGraphDB API endpoint route, e.g. "/mr"

params

GET request params

call

The function call to identify the original function when things go wrong


epigraphdb documentation built on March 29, 2021, 5:11 p.m.