- 博客(4)
- 收藏
- 关注
原创 axios get() 请求post()请求
axios: get() 请求/post()请求 get()请求 axios.get("url",{ params:{ //所需要发送数据 } }).then(res=> { console.log(res) }).catch(err => { }); node.js服务端接受get请求 app.get('url',(req,res)=>{ //接收前端参数 cosnt userInfo = req.query //给前端发送参数 res.sen
2022-05-15 11:39:53
251
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人