Updated to use http service.