Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @GET("/info/{n}")
- Call <Info> getInfo(@Path("n") int n);
- @GET("/info/{n}")
- Call <Info> getInfoRu(@Path("n") int n, @Query("lang") String loc);
- Response response1 = requestInterface.getInfo(id).execute();
- Response response2 = requestInterface.getInfoRu(id, "ru").execute();
Add Comment
Please, Sign In to add comment