[–] lvh 14y ago ↗ "However, REST requires developers to realize that stuff like "publishing a blog post" is a resource,"I don't get this.Blog posts are resources. POSTing to the collection of blog posts creates a new one. "publishing a blog post" is an action, maybe -- not a resource. [–] kennu 14y ago ↗ I don't think the original author groks REST particularly well. Fundamentally it's really simple, once you understand the difference between actions and resources.
[–] kennu 14y ago ↗ I don't think the original author groks REST particularly well. Fundamentally it's really simple, once you understand the difference between actions and resources.
2 comments
[ 4.0 ms ] story [ 18.6 ms ] threadI don't get this.
Blog posts are resources. POSTing to the collection of blog posts creates a new one. "publishing a blog post" is an action, maybe -- not a resource.