原文: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