Andrew, do you have the URL to the documentation you are looking at? Is it the same version as the database version you are using?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Oct 4, 2011 at 9:07 AM, andrew ton <[email protected]> wrote: > > > Hi, > > In the document (15.7.6) the example of adding a node to index by a POST > method to http://localhost:7474/db/data/index/node/favorites/key/the%20value. > The service accept JSON. However the example shows the request posts the body > as a string "http://localhost:7474/db/data/node/0" but not a json object. I > tried to Post a string of a node to add it to the index and got an error (as > I expected). Can somebody shed some light? > If we post a json object then what is the key? > > Thanks, > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

