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.get("https://reuleaux-post-shift-v1.p.rapidapi.com/api.php") .header("X-RapidAPI-Key", "undefined") .end(function (result) { console.log(result.status, result.headers, result.body); });