2010/9/17 Jim Webber <j...@webber.name>

> I'm not convinced I like the way this works:
>
> >  POST /node/123/paths {"to": "http://localhost:9999/node/456";,
> "algorithm":
> > "shortestPath", "max depth": 100}
>
> Isn't the intention to retrieve the shortest path? If so I'd prefer:
>
> GET
> /node/123/paths?to=http%3a%2f%2flocalhost:9999%2fnode%2f456&algorithm=shortestPath&maxDepth=100
>
Traversers works the same way (with POST)... I'm almost positive you were
there, Jim, when we decided on not going with the
HTTP-FORM-style-question-mark-parameters-pattern-or-whats-is-called. Or is
this something different?


>
> And I would perhaps like to see that result cached for a bit. And I want a
> pony.
>
> Jim
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to