http-methods: HTTP methods for communicating with the Crunch API

http-methodsR Documentation

HTTP methods for communicating with the Crunch API

Description

These methods let you communicate with the Crunch API, for more background see Crunch Internals.

Usage

crGET(url, config = list(), ...)

crPUT(url, config = list(), ..., body)

crPATCH(url, config = list(), ..., body)

crPOST(url, config = list(), ..., body)

crDELETE(url, config = list(), ...)

Arguments

url, config, body, ...

see crunchAPI for details. url is the first named argument and is required; body is also required for PUT, PATCH, and POST.

Value

Depends on the response status of the HTTP request and any custom handlers.


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.