shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF { "startVertex" : "persons/alice", "graphName" : "knows_graph", "direction" : "outbound", "visitor" : "result.visited.vertices.push(vertex._id);" } EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : { "visited" : { "vertices" : [ "persons/alice", "persons/bob", "persons/charlie", "persons/dave" ], "paths" : [ ] } }, "error" : false, "code" : 200 }