//Example using Defaults fetchData("http://someurl.com", null, function(err, data){ if(err) { // do something about it } //No errors? Sweet let do some work! //... }) //Example using options overide fetchData("http://someurl.com", { method: 'post'}, function(err, data){ if(err) { // do something about it } //No errors? Sweet let do some work! //... })