Skip to content
Kristian Karl edited this page Sep 28, 2019 · 1 revision

SetData

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",
}

Example

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"}}
Clone this wiki locally