input_cogs_api {trelliscopejs} | R Documentation |
Specify a collection of input cognostics to be stored using an API
Description
Specify a collection of input cognostics to be stored using an API
Usage
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"))
)
Arguments
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 |
Details
See [here](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#supplying_request_options for more information about request options.
[Package trelliscopejs version 0.2.11 Index]