Learn R Programming

gofigR (version 0.3.1)

gofigr_make_handler: Wraps an HTTR method e.g. GET to provide relative URL resolution and authentication

Description

Wraps an HTTR method e.g. GET to provide relative URL resolution and authentication

Usage

gofigr_make_handler(name, method)

Value

wrapped method which takes a GoFigr client, a relative URL and an expected HTTP status code.

Arguments

name

method name, e.g. "GET"

method

HTTR method, e.g. httr::GET