News for hackers. Stuff that matters.
Re:Roy Fielding's Misappropriated REST Dissertation by jayd16 on Tuesday June 30, 2020 @12:20AM (#23686517)
You're right. No one knows what rules apply to transmogrification. That's why people use the http verbs to consistently create and edit things without having to look up the caching and idempotency rules of every random thing your API does.

If your API had a /transmogrification/<id> resource. I would know how to query its state and possibly edit it. I have a clear place to look for previous transmogrifications without crating a new one and I even have a nice query syntax support.

Or maybe you don't support GET and return a 405 response. That's ok too.

Re:Roy Fielding's Misappropriated REST Dissertation by WClayFerguson on Tuesday June 30, 2020 @06:34PM (#23695572)
You basically just explained how REST works. :)

* Limits number of verbs to CRUD ones (HTTP).

* Makes every verb into a noun.

* Tightly couples HTTP-codes into your API.

* Requires creation of many endpoints you don't really need.

* Makes it awkward to have a single request that updates multiple different types of objects, or queries different types of data.

yeah, I don't want any of the above in my life.