I am trying to use google contact api in firebase free plan. It gives me an error ERROR: getaddrinfo ENOTFOUND www.google.com www.google.com:443
As far as I know firebase allow us to user google services in their free plan but why I am getting this error.
var options = {
host: 'www.google.com',
path: '/m8/feeds/contacts/default/full?access_token=token&alt=json'
};
https.get(options, function(res) {
//my function
});