REST call is not working


Srinivas Rao <vasu...@...>
 

I followed the steps described in the documentation to access the JanusGraph using REST calls. But I am getting error message as follows. 

curl -XPOST -Hcontent-type:application/json -d '{"gremlin":"g.V().count()"}' http://xxxxxx:8182

{"message":"No such property: g for class: Script2","Exception-Class":"groovy.lang.MissingPropertyException"}


Can some one help me to fix this issue.


Thanks, Srinivas.

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.