api_post_request: Wrapper of httr::POST that handles status errors and custom...

View source: R/request_and_response.R

api_post_requestR Documentation

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

Description

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

Usage

api_post_request(route, params, retry_times, retry_pause_min)

Arguments

route

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

params

POST request payload


MRCIEU/epigraphdb-r documentation built on Aug. 29, 2022, 4:05 a.m.