cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

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
lala
Level IX

回复: 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!

2024-04-27_17-48-41.png

Recommended Articles