Try the following code. (Its working for me)
var https = require('https');
var options = {
port: 443,
host: 'birra-io2014.appspot.com',
path: '/_ah/api/birra/v1/beer',
method: 'GET',
headers: {
accept: '*/*'
}
};
var req = https.request(options, function(res) {
console.log("statusCode: ", res.statusCode);
console.log("headers: ", res.headers);
res.on('data', function(d) {
process.stdout.write(d);
});
});
req.end();
req.on('error', function(e) {
console.error('ERROR object ==>' + e);
});