REST pass multiple inputs to GET method

I have deployed a simple REST based application in RAD.

A simple URL is accessed using http://localhost/<contextroot>/users/<username> where <username> is accessed using reqeust.getAttributes(). Now, how do i pass more than one attribute to the REST service?


Usually you'll use query parameters:


You haven't indicated which language or framework you are using so I can't tell you how to do this in code.

You could also use URLs of the style http://localhost/<contextroot>/comments/<username>/after/<date>, but that tends to get messy if you wish to include a large number of options.

Need Your Help

ASP.Net MVC2 Passing Parameters in URL

After using the original MVC for sometime I am getting familiar with MVC 2, but I would like to know whether there is away of passing values from a form, like a user name and password, which is not...

Radiobutton in modalpopup causing postback even when inside UpdatePanel

c# ajax

Posted is an abridged code of my user control. I have added an update panel over radio button and want to execute a server function which will toggle between consultant drop down list and reference...