Axios

Library to make HTTP requests

async function getFacts() { try{ let res = await axios.get(url); console.log(res); } catch(e) { console.log("ERROR - ", e); } }

GET DOG IMAGE