1.0.2 • Published 3 years ago
ft-request-multiple-urls-ng-01 v1.0.2
This will be just test package and will remove soon. This is for fetch an array of URLs which contain JSON data. and return their contents in a promise.
module.export.getDetail = () => { const fetchData = requestMultipleUrls(urls) .then(fetchData => console.log(fetchData)) .catch(error => console.error(error)) }