Am trying to get some text from an html page using nodejs
here is the url. from this url i want to get the string 0e783d248f0e27408d3a6c043f44f337c54235ce .
  i tried this way .but not getting any data
var getGitKey = function (context, callback) {
  http.get("gggg/status", function(res) {
      var data = "";
      res.on('data', function (chunk) {
        data += chunk;
      });
      res.on("end", function() {
console.log("DATA-------------------------------");
console.log(data);
        callback(data);
      });
    }).on("error", function() {
     // callback(null);
    });
};
Please help whats wrong with my code
 
     
    