-
Notifications
You must be signed in to change notification settings - Fork 116
Rest: getData
Shivam Kumar Verma edited this page Feb 6, 2020
·
2 revisions
The Rest call getData
is used to ask GraphWalker for the current data values of the current model.
GET Request
http://service-host:8887/graphwalker/getData
Response
If the request was successful "result" will be "ok".
The "data" part will hold the data as key value elements.
{
"result":"ok",
"data":
{
"num_of_books":"0",
"MAX_BOOKS":"5"
}
}
From a Linux terminal, using curl:
curl http://localhost:8887/graphwalker/getData
{"result":"ok","data":{"num_of_books":"0","MAX_BOOKS":"5"}}