Node request

文档

app.js

var request = require('request');
request('https://www.npmjs.com/package/request', function (error, response, body) {
  if (!error && response.statusCode == 200) {
    console.log(body);
  }
})

Node request_第1张图片

你可能感兴趣的:(Node request)