by lucisferre · 14y ago · 0 comments
Is REST really just a pipe-dream in practice?
(Downvotes, ho!)
The framework I'm using assigns any visit a new session, but it's unused in the sense that the REST interaction doesn't require the session and also doesn't use it - authentication is handled using a the "Authorization: basic" header.
Otherwise I've been very happy and content with my 100%[1] restful webservices.
[1] According to this article, the one it linked to, and a medium skimming of the original dissertation.
But I guess since I'm using a cookie-based sessions its less of an issue for state changes since the state stays mostly on the client.
I'm more interested if anyone has managed to use REST for an API that has more business logic than simply publishing documents.
if you used a browser to write that comment, I would say rest is working pretty well.
In fact I'd be willing to bet this comment form isn't all that RESTful.