update httpRequest.js