News for hackers. Stuff that matters.
Re:Some New HTTP Verbs by arinlen on Tuesday September 13, 2022 @09:36AM (#32824090)
> UNDO makes sense if the server is keeping a bag of responses.

I disagree. Any UNDO action is just a DO action with a spcific set of commands executed in a specific order. If you use POST and PATCH and DELETE to apply actions, not only can you replay them but you can also trivially support a POST /resource/<resourceId>/undo. This is particularly relevant in systems that employ an event sourcing of some sort.

There are no comments on this comment yet.