Made HttpRequest local variable