When is it appropriate to use a query string to pass parameters to a
REST API call?

For example, why is:

  http://blah/user/1234

better than:

  http://blah/user?id=1234

?

I'm guessing that if I have a GET request which can return a list of a
variable length (such as a search), then a GET parameter should be
used to indicate how many results should be provided - is this
correct?

In the event that it is appropriate to use a GET parameter, what is
the best way to extract it from a Request?

Thanks,

Ian.

-- 
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity

Reply via email to