is it better to use fetch or axios code example Example: axios fetch axios.get("/path", (res) => { res.json( }).then(data => console.log(data))