-
Notifications
You must be signed in to change notification settings - Fork 116
Rest: setData
Kristian Karl edited this page Sep 28, 2019
·
1 revision
The Rest call setData
is used to set data in the current model.
PUT Request
http://service-host:8887/graphwalker/setData/<JAVA SCRIPT>
Response
If the request was successful "result" will be "ok".
{
"result":"ok",
}
From a Linux terminal, using curl:
curl -X PUT http://localhost:8887/graphwalker/setData/MAX_BOOKS=6;
{"result":"ok","data":{"num_of_books":"0","MAX_BOOKS":"6"}}