Guest User

Untitled

a guest
Dec 12th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. @GET("/info/{n}")
  2. Call <Info> getInfo(@Path("n") int n);
  3.  
  4. @GET("/info/{n}")
  5. Call <Info> getInfoRu(@Path("n") int n, @Query("lang") String loc);
  6.  
  7. Response response1 = requestInterface.getInfo(id).execute();
  8. Response response2 = requestInterface.getInfoRu(id, "ru").execute();
Add Comment
Please, Sign In to add comment