Hi Peter and Community,

I played a bit with passing a groovy script to neo4j. However the response
seems to be not JSON encoded, did I overlook something?

I'm using 1.5M02 and did the following request (from tcpmon)
http request: 
POST /db/data/ext/GremlinPlugin/graphdb/execute_script HTTP/1.1
Content-Type: application/json

post body: 
{"script":"neo4j = g.getRawGraph()"}

The result seems to be not JSON encoded and different from the
documentation:
..
Content-Type: application/json
"EmbeddedGraphDatabase [...neo4j\\neo4j-community-1.5.M02\\data\\graph.db]"

Shouldn't this be a JSON string? Later on grails complains with an
groovyx.net.http.ResponseParseException which is correct, since it's not
JSON, right?


Thanks, Jure


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/REST-api-get-list-of-all-relationship-properties-unique-tp3458852p3476872.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to