I managed to get the following working in Lambda (not throwing errors) but how can I see the actual response json?
var https = require('https');
exports.handler = function (event, context) {
https.get('https://www.quandl.com/api/v3/datasets/FRED/M12015USM144NNBR.json? api_key=XXXXXXXXXXXXXXXX', function (result) {
console.log('Success, with: ' + result.statusCode);
context.done(null);
}).on('error', function (err) {
console.log('Error, with: ' + err.message);
context.done("Failed");
});
};