I train myslef with NodeJS and tried a simple GET call. Here is my code:
var http = require(\'http\'); var options = { host: \'www.boardgamegeek.com\',
The following change with the request worked for me:
var options = { proxy:'PROXY URL', uri: 'API URL', method: 'GET' } request(options, function (err, response, body) { if(err){ console.log('error:', err); } else { console.log('body:', body); } });