Re: [Neo4j] Travers using curl

2011-11-11 Thread Peter Neubauer
ot;order":"breadth_first" , "uniqueness":"node_global" , > "return_filter":{"body":"position.endNode().getProperty('name', > '').toLowerCase().contains('pepsi')" , "language":"javascript&

Re: [Neo4j] Travers using curl

2011-11-10 Thread francoisk6
anguage":"javascript"} , "max_depth":10000 }' http://localhost:7474/db/data/node/0/traverse/node and both are producing same errors mentioned in original post. - Regards, Francois Kassis. -- View this message in context: http://neo4j-community-discussions.43852

Re: [Neo4j] Travers using curl

2011-11-10 Thread Michael Hunger
you forgot the first single quote after -d and you have single quotes in your string which you have to replace by double quotes Am 10.11.2011 um 15:46 schrieb Passpart0ut: > Dear All, > I am trying to travers neo4j using curl and got errors: > > curl -X POST -H Accept:application/json -H Cont

[Neo4j] Travers using curl

2011-11-10 Thread Passpart0ut
Dear All, I am trying to travers neo4j using curl and got errors: curl -X POST -H Accept:application/json -H Content-Type:application/json -d {'"order":"breadth_first" , "uniqueness":"node_global" , "return_filter":{"body":"position.endNode().getProperty('name').toLowerCase().contains('pepsi')"