How nodejs obtains api interface data of other servers is similar to Ajax

  node.js, question

Can nodejs send ajax requests to other servers?

//用request组件,npm install request
//这是我向微信平台发的请求的部分代码
var request = require('request');
request('https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token='加_token加'&type=jsapi', function (error, response, body) {
        if (!error && response.statusCode == 200) {
            body = JSON.parse(body)
            //处理。。。。。
        }
    })