- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How can I change the Load Text File(url) method to Multi HTTP Request method?
This url already uses the Load Text File(url) to download the data and get the table.
url = "……" || gp || "&……";
txt = Load Text File( url );
d1 = JSON To Data Table( txt );
How to change to the following form?
url = {};dt=Current Data Table();
For( i = 1, i <= 10, i++,
gp = dt[i, "test"];
Insert Into(
url, "……" || gp || "&……" );
);
rqs = New Multi HTTP Request();
For( i = 1, i <= N Items( url ), i++,
rq = New HTTP Request( Method( "GET" ), URL( url[i] ) );
rqs << Add( rq );
);
hh = rqs << Get Requests();
da = rqs << Download( "show progress", "detailed" );
Thanks!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
回复: How can I change the Load Text File(url) method to Multi HTTP Request method?
OK
Directly modify to the following form can be.
Only the server that happened to be slow, I thought it was not successful.
Thanks!