api.post {OnboardClient}R 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.


[Package OnboardClient version 1.0.0 Index]