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.

Reply via email to