News for hackers. Stuff that matters.
Re:Post-REST by dragonwriter on Monday November 19, 2018 @03:11PM (#18489362)
> There's no representation of the "transaction" resource that you can GET

Except in the most trivial cases, it's probably essential that there be such a representation and that you 201 the transaction with a URL for the resulting resource. The nature of aggregate transactions is that you probably don't want to do a 200 and done, especially if you are supporting arbitrary combinations of CRUD actions as you suggest.

> You can only POST representations of transactions that internally contain ad-hoc encodings of CRUD operations on multiple other resources.

“Ad hoc”? No more than any other resource representation. Not that I think most applications that need a transaction resource of some kind need an arbitrary combination of lower level actions; most need well defined classes of domain transactions that are each more constrained.

There are no comments on this comment yet.