Skip to content

Comment on When REST isn't Good Enoughparent

Comments

REST makes useful to be able to do:

- UPDATE/course/324234 - GET /course/324234 - DELETE /course/324234

with predictable results.

Of course, it works better when you have a clear hierarchy of resources, and/or it make sense to do UPDATE/GET/DELETE to the resources with clear results.

I think it works for some cases very well, but I don't think is always the way to go. That said, there are a sensible number of "RESTful APIs" that are not RESTful at all, they just uses HTTP.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.