Pushed set up of http instance into the private method