renamed private request to httpRequest
replace superagent with request in nodejs