All
What I want to do is Adding multiple parameters with same name to request URL with AngularJS $http, making the URL sent like http://localhost:8080/?value=1&value=2.....
This post also described the similar situation: Sending HTTP request with multiple parameters having same name
Could any one help with in AngularJS $http?
Thanks
You call also use URLSearchParams for the parameters. For example:
Or
You need to use an array like this:
This will send value1 and value2 with the same querystring key 'someParmName'.
Here is an example GET request: