I am new to retrofit 2 library.I read several articles to get started as a beginner and I managed to fetch XML data from my RESTful API without specifying parameters.In my metho
For example:
@GET("/user/{username}?type={admin}")
Here username is the path variable, and type is the query variable
username
path
type
@GET("/user/{username}?type={admin}") void getUserOuth(@Path("username") String username, @Query("type") String type)