api.post: API POST call

View source: R/api_calls.R

api.postR Documentation

API POST call

Description

Uses http POST call to post objects to the API.

Usage

api.post(endpoint, json_body, output = "list")

Arguments

endpoint

A character string containing a valid Onboard API endpoint.

json_body

A JSON payload to give to the POST call.

output

A character string, either "list" (default) or "dataframe", to specify the API output format.

Value

A list or data.frame of the API output.


OnboardClient documentation built on Oct. 29, 2022, 5:06 p.m.