Demo entry 6783749

vladimir.baksheev@gmail.com

   

Submitted by anonymous on Feb 20, 2019 at 10:35
Language: Java. Code size: 341 Bytes.

public interface WeatherApi {

    @Headers({
            "Content-Type: application/json",
            "Yahoo-App-Id: " + YAHOO_APP_ID
    })
    @GET("forecastrss")
    Observable<WeatherInfo> getWeather(@Header("Authorization") String authorization,
                                       @QueryMap Map<String, String> params);
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).