📅  最后修改于: 2022-03-11 15:04:01.483000             🧑  作者: Mango
axios.get('/user/1').then((response) => {
console.log('Everything is awesome.');
}).catch((error) => {
console.warn('Not good man :(');
})