I understand most of how a RESTful site design should function, but in implementing a blog cannot decide the best way to present the form to insert a new blog post. Would example.com/posts/create be reasonable? This feels like the “create” is not restful, like it’s putting information into the URI that should be simply represented by PUT/POST.
How would others do this?
Have a look at Rails Routing for the Rails view on this.
So, in your situation, GET
/posts/newto get the new post form, but POST/poststo create a new post.The point is, you’re POSTing a new blog post, but to do that you need to GET the form that will enable you to do this. In a way, the new blog post form is just another (static) resource.