I have multiple GET API requests i want to do in a Loop. What is the best way to do this using await in a try/catch.
I have something like this currently:
requestItems.forEach(url => {
try {
data = await apiService.get(url);
} catch (err) {
console.log(err)
}
});