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.
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.