axios的http请求
Axios简介 (Introduction to Axios)
Axios is a very popular JavaScript library you can use to perform HTTP requests, that works in both Browser and Node.js platforms.
Axios是一个非常流行JavaScript库,可用于执行HTTP请求,该库在Browser和Node.js平台中均可使用。
It supports all modern browsers, including support for IE8 and higher.
它支持所有现代浏览器,包括对IE8和更高版本的支持。
It is promise-based, and this lets us write async/await code to perform