mkaing httpRequest static to deal with notice