Live data from Hacker News

RESTful thinking considered harmful - followup

shopify.com

1–3 of 3 posts

Re: RESTful thinking considered harmful - followup

#2
"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.

Re: RESTful thinking considered harmful - followup

#3
post #2

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

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.