News for hackers. Stuff that matters.
Re:Hypermedia Clients by tbrownaw on Thursday February 02, 2023 @01:32AM (#34622932)
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.
Re:Hypermedia Clients by nerdponx on Thursday February 02, 2023 @02:23PM (#34631766)
I 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.