array.push(api.post()) array.push(api.post()) Promise.all(array).then(arr=>{ arr.forEach(res=>{ }) })