Datos para obtener Axios
npm i axios
const axios = require('axios');
(OR)
window.axios = require('axios');
(OR)
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
axios.get("https://fakestoreapi.com/products/")
.then(function (res){
console.log(res.data);
})
WinMaw