axios的get请求和post的请求

get:ios // 为给定 ID 的 user 建立请求 axios.get('/user?ID=12345') .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); }); // 可选地,上面的请求能够这样作 axi
相关文章
相关标签/搜索