[asterisk-app-dev] allowMultiple

Corey Edwards tensai at zmonkey.org
Mon Oct 21 17:46:02 CDT 2013


On Mon, Oct 21, 2013 at 3: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,

I was curious, so I tested this out. I can confirm that your theory that
the last param wins is correct.

Corey



More information about the asterisk-app-dev mailing list