To utilize unirest for node.js install the the npm module:
$ npm install unirest
After installing the npm package you can now start simplifying requests like so:
var unirest = require('unirest');
unirest.("https://") .header("X-RapidAPI-Key", "undefined") .header("Content-Type", "application/x-www-form-urlencoded") .end(function (result) { console.log(result.status, result.headers, result.body); });