Description Usage Arguments Value
View source: R/callthat_api_post.R
Submits a POST command against a REST API
1 2 3 4 5 6 7 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.