Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I see a problem with your first url structure. You say "the /post url lists all posts, probably with some paging". This means we'll need to pass in a page parameter as so: /post/:page. On the other hand, the /post url also needs a way to fetch a single record, as so: /post/:id. How do we know if the user specified a page ID or a recrd ID? Commented Nov 15, 2012 at 11:25
  • I tend to pass paging params via querystring, not necessarily as part of the route path. Commented Nov 15, 2012 at 12:25