refactor http method to WeatherService