Send an Array with an HTTP Get

Matteo picture Matteo · Jun 17, 2010 · Viewed 136.4k times · Source

How can i send an Array with a HTTP Get request?

I'm Using GWT client to send the request.

Answer

David Roman picture David Roman · Dec 22, 2012

I know this post is really old, but I have to reply because although BalusC's answer is marked as correct, it's not completely correct.

You have to write the query adding "[]" to foo like this:

foo[]=val1&foo[]=val2&foo[]=val3