DS> When something is a pure resource I try to design a RESTful
DS> service but with something like position I prefer to have commands
DS> like ClosePositionCommand, UpdateStopLossCommand, etc...

AFAIK, nobody has solved the REST+actions dilemma. There is no
consensus. REST is about pure resources. You can add path elements
that are actions, have a generic /action segment and use the body
to pass data, or use query strings. To be truly RESTful, clients need
to manipulate resources.

-- Gregg

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to