Possible Duplicate:
what is rest,and what is its advantage
This is some from book WAHHP
Although URLs containing parameters within the query string do
themselves conform to REST constraints, the term “REST-style URL” is
often used to signify a URL that contains its parameters within the
URL file path, rather than the query string. For example, the
following URL containing a query string:
http://wahh-app.com/search?make=ford&model=pinto corresponds to the
following URL containing “REST-style” parameters:
http://wahh-app.com/search/ford/pinto
I actually can not understand what above means. How can I design rest-style URLs in my applications? Generally, can you explain the difference and implementation methods?
What is means is instead of a URL like:
your URL would be:
Instead of creating a series of parameters I built the parameters into the structure of the URLs. There are many frameworks depending on what technology you are using that will allow you to create URLs that are structured like this.