Hi,
Looking at master:
https://github.com/angular/angular.js/blob/master/src/ng/http.js
$HttpParamSerializerProvider doc says:
* * `{'foo': ['bar', 'baz']}` results in `foo=bar&foo=baz` (repeated key
for each array element)
so you can use an array. Seems to be a feature of 1.4 though.
Best,
Marco
Il giorno lunedì 9 settembre 2013 17:29:46 UTC+2, manuel rascioni ha
scritto:
>
> I have the same problem, do you solved it?
>
> On Monday, June 10, 2013 9:45:20 PM UTC+2, Michael Remijan wrote:
>>
>>
>> Well I was trying to use the "params" property on the config object to
>> pass the value. I guess I can try to manually build a URL string like this
>> but don't like that solution too much.
>>
>> On Monday, June 10, 2013 2:29:20 PM UTC-5, Michael Soulier wrote:
>>>
>>>
>>> On 2013-06-10, at 3:25 PM, Michael Remijan <[email protected]> wrote:
>>>
>>> >
>>> > I am using Angular to talk to PHP and in order for PHP to get an array
>>> of parameter values the request needs to look like this:
>>> >
>>> > get.php?param[]=value1¶m[]=value2¶m[]=value3
>>> >
>>> > How do I get $http.get to do this?
>>>
>>> Is that not simply the URL you provide?
>>>
>>> Mike
>>
>>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.