-
Notifications
You must be signed in to change notification settings - Fork 116
Websocket: setData
Kristian Karl edited this page May 14, 2020
·
2 revisions
The Websocket message command setData
is used to run javascript for the current model.
Request
{
"command":"setData",
"action": "some_data = 1425; some_other_data = 3.14;"
}
Response
If the request was successful "success" will be "true".
An example of a setData response.
{
"success":true,
"command":"setData"
}