Add the following snippet before an Axios call to view the details before it sends a request:
axios.interceptors.request.use(function(config){// Do something before request is sent console.log(config)return config;},function(error){// Do something with request errorreturn Promise.reject(error);});