原文:Axios get请求

...

2020-05-19 15:01 0 1865 推荐指数:

查看详情

axios get post请求

接口1:随机笑话 请求地址:https://autumnfish.cn/api/joke/list 请求方法:get 请求参数:num(笑话条数,数字) 相应内容:随机笑话 axios.get("https://autumnfish.cn/api/joke/list ...

Mon Dec 09 23:43:00 CST 2019 0 376
axios简写get和post请求

<script> axios.get('http://localhost:8080/student/getAllStudent').then(res=>{ console.log(res.data); }).catch(err=> ...

Wed Dec 23 15:59:00 CST 2020 0 517
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM