const req = async () => { const response = await axios.get('https://dog.ceo/api/breeds/list/all') console.log(response) } req() // Calling this will make a get request and log the response.