Helpful Tips from using Axios Library and Fetch API
// Using Axios Library
import axios from 'axios';
// GET Request
axios.get('https://jsonplaceholder.typicode.com/posts')
.then(response => {
console.log(response.data);
})
.catch(error => {
console.log(error);
});
// POST Request
ax...
muyiwa.hashnode.dev1 min read