Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
grisha
· 14y ago · 0 comments
You might want to offer pub/sub API, and it just can't be done with REST because of it's statelessness.
Comments
[–]
arethuza
14y ago
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?