Hi guys,

I'm interested if it's possible to send an array as a parameter when
doing an HTTP request.
Curretly, we can directly do it:

foo[]=1&foo[]=2&foo[]=3

Most server side languages understand this as

foo = Array(
  [0] = 1,
  [1] = 2,
  [2] = 3
)

I tried the same in Flex:

var params:Object = new Object();

params.foo = new Array();
params.foo.push(1);
params.foo.push(2);
params.foo.push(3);

service.send(params);

But it doesn't work... I'm curious how can this be achieved in Flex


Thanks in advance,


Regards,

-- 
Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9166-6902
MSN: [EMAIL PROTECTED]
URL: http://blog.bisna.com
Rio de Janeiro - RJ/Brazil

Reply via email to