News for hackers. Stuff that matters.
Re:So you want to offer a public API … by grisha on Wednesday July 25, 2012 @07:04AM (#4290312)
You might want to offer pub/sub API, and it just can't be done with REST because of it's statelessness.
Re:So you want to offer a public API … by arethuza on Wednesday July 25, 2012 @07:18AM (#4290343)
You're not supposed to have session state - but the resources you are accessing are (of course) stateful. Why not set up your subscriptions explicitly as resources that can be manipulated through the API?