I'm using request
npm to get http pages. I have something like that
function callbackFunction1() {
var p = 'foo';
request(url, callbackFunction2);
}
function callbackFunction2(err, response, body){
}
How could I pass the variable p
as parameter of the callbackFunction2?