title: get page data from html page using node.js
body: <p>Am trying to get some text from an html page using nodejs</p>
  
  <p>here is the url. from this url i want to get the string <code>0e783d248f0e27408d3a6c043f44f337c54235ce .</code>
    i tried this way .but not getting any data</p>
  
  <pre><code>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);
      });
  
  };
  </code></pre>
  
  <p>Please help whats wrong with my code</p>