Hi hz, If your parameters are all optional, I would suggest to use query parameters instead. You can then get them using this method: getQuery(): Form
Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : hank z [mailto:[email protected]] Envoyé : mardi 18 août 2009 20:57 À : [email protected] Objet : optional parameter when using GET method I am using restlet 1.1, I am having problem to create uri for optional parameters for GET method, for each get request, I could have 2 to 3 optional parameter, e.g. http://abc.com/event/{location}/{starttime}/{endtime}, if all of the parameter are optional ,then I end up have to create a lot of different route, or else, it will say that matching url cannot be found, is there another way to do this ? Thank you! hz ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23848 97 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386313

