Information and photos for tens of thousands of outdoor recreation locations including hiking and mountain biking trails, campgrounds, ski resorts, ATV trails, and more.
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://trailapi-trailapi.p.rapidapi.com/trails/explore/?page=undefined&per_page=undefined&radius=undefined") .header("X-RapidAPI-Key", "undefined") .end(function (result) { console.log(result.status, result.headers, result.body); });