I’m reading the book ‘RESTful web services’ and in the discussion on
exposing algorithmic resources it says the following:
Most web applications donâ€™t store much state in path variables: they use
query variables instead. You may have seen URIs like this:
Those URIs would look better without the query variables:
What is the Rails way for exposing algorithmic resources? Is it via the
first URL in the example or the second? If it is the second, please can
you give me some guidance on how to achieve this.