This stores the headers in an object, and retrieves the headers from that
object as arrays:
// construct the get header/value pairs
$c:new collection
$c.push(New object("header";"A";"value";"AV"))
$c.push(New object("header";"B";"value";"BV"))
// add more headers
// the object you want
$myObject_o:=New object("http_header";$c)
// retrieve the arrays you want for HTTP Get parameters
ARRAY TEXT($header_at;0)
ARRAY TEXT($value_at;0)
COLLECTION TO
ARRAY($myObject_o.http_header;$header_at;"header";$value_at;"value")
// now you have 2-synchronized arrays for the HTTP Get command header/value
parameters.
> On Jun 11, 2019, at 2:41 AM, Jeremy Roussak via 4D_Tech
> <[email protected]> wrote:
>
> use arrays within an object as parameters to HTTP Get.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************