Skip to content

Instantly share code, notes, and snippets.

@raphaklaus
Created June 7, 2016 12:06
Show Gist options
  • Save raphaklaus/eae07c16f1fd54b7d45cf064a51b88e2 to your computer and use it in GitHub Desktop.
Save raphaklaus/eae07c16f1fd54b7d45cf064a51b88e2 to your computer and use it in GitHub Desktop.
request('http://www.google.com', function(error, response, body) {
if (error)
throw error;
doThings(response, body);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment