Submits a POST command against a REST API
call_that_api_post( api_connection, endpoint = "", body = NULL, headers = list(), ... )
api_connection | A |
---|---|
endpoint | The name of the API's endpoint. Defaults to an empty character vector. |
body | The body or query sent to the REST API. |
headers | A |
... | Other arguments to pass to the REST API call. |
An httr
request
object