Description
Uses http POST call to post objects to the API.
Usage
api.post(endpoint, json_body, output = "list")
Value
A list or data.frame of the API output.
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.