Not quite - When I inspect the request, this approach results in application/x-www-form-urlencoded parms of name=foo&value=bar
What I'm looking for is headers in the http request, headers like: ... Keep-Alive: 300 Connectin: keep-alive Referer: .... to name but a few. The 'headers' attribute of the httpService appears to be the right spot, I'm just without a way to specify. I'll try a combo of the object build and headers use.. All pgm suggestions / ideas are welcome. Thanks --- In [email protected], "Guilherme Blanco" <[EMAIL PROTECTED]> wrote: > > var params:Object = new Object(); > params.name = "foo"; > params.value = "bar"; > > service.send(params); > > > > Cheers, > > On Wed, Jul 23, 2008 at 5:04 PM, ron_mori <[EMAIL PROTECTED]> wrote: > > How to add headers to httpService request? > > > > Goal - add request header name:val of 'foo: bar' > > > > Tried: var hdr:Array = [{name:"foo", value:"bar"}]; > > Header has: [object object] > > > > Tried: var hdr:Array = ["foo", "bar"]; > > Header has: [0]:foo, [1]:bar > > > > ideas? > > > > thanks in advance. > > > > > > > > -- > 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 >

