axiox install 1

axiox install

// via npm install 
npm i axios

Here is what the above code is Doing:
1. We’re importing the axios library and assigning it to a variable called axios.
2. We’re using axios to make a GET request to the URL https://icanhazdadjoke.com/
3. We’re using the .then() method to log the response to the console.

Similar Posts