Anne wrote (and I think others generally agree):
 
> In REST, the center of the design is the resource (the lightbulb).<snip> Each lightbulb has a unique URL, you
> retrieve its state via GET, and you set its state via PUT.
 
How in REST would you handle something like "marry" where a single event causes the states of two resources (two people) to change (they both become married). Would you need two PUTs? If so, how do you ensure that the two PUTs are atomic: both succeed or both fail?
 
Thanks
Ashley
__._,_.___


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to