[zeromq-dev] REST over ZeroMQ

Gregg Irwin gregg at pointillistic.com
Mon Feb 9 19:09:37 CET 2015


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




More information about the zeromq-dev mailing list