allowMultiple

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 21, 2013 at 5:24 PM, Daniel Jenkins <dan.jenkins88 at gmail.com> wrote:
>> On Oct 21, 2013, at 22:22, Lenz Emilitri <lenz.loway at gmail.com> wrote:
>>
>> Hi all,
>> writing the HTTP client - how is the query string built when a
>> parameter sets allowMultiple=true? do you simply repeat the parameter
>> multiple times, like in /my/url?parm=a&parm=b to set it to "a" and
>> "b"?
>> TIA
>> l.
>>
> I doubt that would work (and shouldn't) as the last "param" would
> override the first,
>
> In pure http you would make it into an array - param[]=a&param[]=b
>

url?param=a,b

or course, urlencode the comma

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger



[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux