Jonathan,

Sweet! That set me on the right path!

../?foo="something"&bar="something_else"&other="this"&other="that" gives me 
what I want, which is:
request.var['foo']: "something"
request.var['bar']: "something_else"
request.var['bar']: ["this", "that"]




On Nov 23, 2010, at 9:34 , Jonathan Lundell wrote:

> On Nov 23, 2010, at 6:28 AM, Lorin Rivers wrote:
>> 
>> How can I perform an 'OR' request with a url? Or pass a list using a url?
>> 
>> I have 'AND' figured out…
> 
> I'm not quite sure what you're asking here, but I'm guessing that you're 
> interpreting the '&' in a query string as 'and'. But it's not; it's just a 
> separator, punctuation. What you want the handler to do with the arguments is 
> a matter of convention and agreement.
> 
> A somewhat limited way to do it would be to put your operator in args:
> 
> http://domain.com/app/ctlr/fcn/or?item1&item2&item3
> http://domain.com/app/ctlr/fcn/and?item1&item2&item3
> http://domain.com/app/ctlr/fcn/list?item1&item2&item3

-- 
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:lriv...@mosasaur.com>
512/203.3198 (m)


Reply via email to