A convenient way to view the requests and responses when using axios.
npm i axios-debug
// Axios must be available.
import axios from 'axios';
// Pass axios to the imported 'axios-debug' function.
require('axios-debug')(axios);
// Use axios as normal.
axios.get('/cats');