The reason for AXIOS
- 在浏览器中发送XMLHttpRequests请求
- 在node.js中发送http请求
- 支持Promise API
- 拦截请求和响应
- 转换请求和响应数据
- etc.
Requests of AXIOS
axios(config)
axios.request(config)
axios.get(url[, config])
axios.delete(url[, config])
axios.head(url[, config])
axios.post(url[data[, config]])
axios.put(url[data[, config]])
axios.patch(url[data[, config]])
November 13, 2023Less than 1 minute