摘要:
1.环境安装 //nodejs环境 //npm install axios 2.axios发送get请求 const axios = require('axios') const url = "xxx.xxx.xxx"; const headers = {} axios.get(url, {head 阅读全文
posted @ 2024-01-11 14:25
o小兵o
阅读(643)
评论(0)
推荐(0)
摘要:
1.新建目录demo然后在当前目录下打开cmd窗口执行npm init 一直回车,执行结束该目录下出现一个package.json 2.node环境自行安装,需要依赖如下 * npm add express * npm add nodemon * npm install -g axios --reg 阅读全文
posted @ 2024-01-11 11:40
o小兵o
阅读(125)
评论(0)
推荐(0)

浙公网安备 33010602011771号