4 ms·
DELETE /sessions/:id
by mntmn 13y ago
DELETE /sessions/:id
- pbreit 13y agoExcept that that is almost never the way you would go about logging someone out. Which is precisely the point.
- deleted 13y ago[deleted]
- daleharvey 13y agoThis is exactly how I log people out, POST /_session GET /_session DELETE /_session (CouchDB API)
- dragonwriter 13y ago> Except that that is almost never the way you would go about logging someone out. Its the way I would go about logging somebody out. Why wouldn't you?
- dreamdu5t 13y agoThat's exactly how I do it. Why wouldn't the session be treated as a resource?