request
github.com/request/req…
const request = require('request');
通过这个模块可以发送get post的http接口
morgan
var morgan = require('morgan')
// setup the logger
app.use(morgan('combined', { stream: accessLogStream }))
app.get('/', function (req, res) {
res.send('hello, world!')
})
复制代码