Loading ...
Sorry, an error occurred while loading the content.

4795Computation and PUT vs GET

Expand Messages
  • scottgregory@yahoo.com
    Feb 1, 2005

      Thinking of a REST interface to a trading system.

      I can get my head around
      GET /trades
      to get a list of trades
      GET /trade/123
      to retrieve a specific trade, and even
      PUT /trade/987
      to create a new trade, assuming user has appropriate permissions.

      What about providing a 'remote' pricing facility? Using SOAP, we
      would have a 'service' which returned a value upon accepting a trade
      Value priceMe(SomeTrade)

      How to do this RESTfully?
      Presuming that the pricing engine is stateless, a GET with a payload
      would work?
      What else am I missing - how better to do this?

    • Show all 4 messages in this topic