import and use HttpREquest object