我目前正在使用Node.js,我希望尽可能快地在循环中发送多个请求。我的意思是他们很快就会被送到。我可以通过使用for循环将它们发送到最远的最快速度。这是一个例子:
request({
url: "http://search.roblox.com/catalog/json?CatalogContext=1&CreatorID=1&CurrencyType=0&pxMin=0&pxMax=0&SortType=0&SortAggregation=3&SortCurrency=0&IncludeNotForSale=true&LegendExpanded=true&Category=0&PageNumber=" + (pageNumber++),
method: 'GET'
}, function(err, res, body) {
// do stuff here
});