input_cogs_api | R Documentation |
Specify a collection of input cognostics to be stored using an API
input_cogs_api(
...,
set_url,
get_url,
get_request_options = list(mode = "cors", method = "GET", headers = list(`Content-Type`
= "application/json", Accept = "application/json")),
set_request_options = list(mode = "cors", method = "POST", headers =
list(`Content-Type` = "application/json", Accept = "application/json"))
)
set_url |
URL of the API endpoint for setting a single input |
get_url |
URL of the API endpoint for getting all inputs for the display |
get_request_options |
request options for the API call to set inputs |
set_request_options |
request options for the API call to get inputs |
... |
objects created by any of |
See [here](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#supplying_request_options for more information about request options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.