urls = {};
u = "https://apphq.ip.com/w1/api/index.php";
h = ["Content-Type" => "application/x-www-form-urlencoded; charset=UTF-8"];
d0 = Current Data Table();
For( j = 1, j <= 3, j++,
gp = d0[j, "IP"];
Insert Into(
urls,
"a=GetMainMonitor_Trend_w30&Money=0&apiv=w36&c=StockL2Data&StockID=" || gp ||
"&PhoneOSNew=1&"
);
);
requests = New Multi HTTP Request();
s0 = N Items( urls );
For( i = 1, i <= s0, i++,
Try( rs = New HTTP Request( URL( u ), Method( "POST" ), JSON( urls[i] ), Headers( h ) ) );
requests << Add( rs );
);
da = requests << Download( "show progress", "detailed" );