Changing HTTP call to a service.