3 ms·
HATEOAS gets things backwards. It's not useful to have a client that doesn't know what is supposed to be doing, but it's very useful to have a server that doesn
by tbrownaw 4y ago
HATEOAS gets things backwards. It's not useful to have a client that doesn't know what is supposed to be doing, but it's very useful to have a server that doesn't remember what the client's doing. Making sure that every request includes any state needed to answer it means the server doesn't have to track sessions.
- nerdponx 4y agoI don't think this is at odds with HATEOAS, as long as you can embed state in the hypermedia URLs. Or you could provide a set of URLs and state data or a JWT or whatever, and the client would combine them all together in operation.