我想在for循环中调用我的http请求,因为我一次只想执行1000个项目。about 3000 of them
const totalData = [];
results.push(IDs.splice(0, 1000));
// loop through the new array with the <e
<anonymous>请求中获取经度值和经度值。我试着返回它,但它仍然显示lon和lat is undefined。第二次编辑:如果我输入lon和LAT值,它将解析数据并发送回JSON,但我需要https请求时locaionIQ API中的lon和LAT值。如何获取这些值?format=JSON&key="+apiKeyLocationIQ+"&q="+cityLocationIQ+"&limit=1";
https.get(urlLocationIQ