>From what I can see your SERVER_ROOT_URI is missing "/db/data/" at the end.
if you append "transaction/commit" see: http://neo4j.com/docs/stable/rest-api-transactional.html#rest-api-begin-and-commit-a-transaction-in-one-request The JSON object that you transmit looks ok to me. The other thing, that you might have to set is an accept-header of application/json. Cheers, MIchael > Am 24.02.2015 um 12:14 schrieb Jeyaganeshan Jeyatharsini <[email protected]>: > > I tried to create a node in neo4j using AndroidHttpClient... Connection is > fine.. I got 200 as response code.. but when I tried to execute cypher query > to create a node, it doesn't work: > I have attached my code file... can you please give an example using > AndroidHttpClient... > -- > Jeyatharsini > Undergraduate > Computer Science & Engineering > University of Moratuwa > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <Test.java> -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
