I am trying to use a Node.JS application to make and receive API requests. It does a get request to another server using Axios with data it receives from an API call it rece
You can use Async - Await:
async function axiosTest() { const response = await axios.get(url); const data = await response.json(); }