Friday, August 10, 2012

Ooohhh, so that's RESTful ...

Slacker == this guy
Looks like I'm as guilty as many of my fellow developers about being lazy and not truly understanding what constitutes a true RESTful service. In this blog post, it's summed up quite nicely. The big "ah-ha" moment for me (much like the author of the blog post) was about hypermedia and how the return data was used as self-describing / revealing for getting more from the API.

I'm internalizing this and what it means for my future projects. Probably not a good idea to continue to puke back a JSON / XML representation of a server model at the end of a GET endpoint and call it a RESTful service, even if the client can DELETE...

No comments:

Post a Comment