Topic: Correct Restfull parameters design
Hi! I'm newbie and i'm trying to think of an app completely rest. Once I've identified the resources, i'm starting to think about how should be the urls with multiple parameters.
For example, if i have users and posts and i want to list all post which author's name is "Jhon" and have been created on "2011", how would be a correct Restful Url?
Now, if i want to control users to access only to posts that their are authors, how do i do that truly restfull? I have to include in the URL information about the current user?
Last edited by lemevs (2011-05-02 01:09:52)