Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why and How You Should Write REST-Centric Applications. Parent comment
Login:
PUT https://example.com/credentials {"username":"foo", "password":"bar"}
HEAD http://example.com/credentials Cookie: ...
GET http://example.com/credentials Cookie: ...
DELETE http://example.com/credentials Cookie: ...
There are no comments on this comment yet.
Login:
Check if user is logged in: Get current user: Logout: From the point of view of the one client, it's no less "real" than any other resource.