Created
April 17, 2021 02:50
-
-
Save javaherisaber/720009baf99ad0ad4b712b1298744558 to your computer and use it in GitHub Desktop.
Api to picsum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Api { | |
@Mock("picsum_list.json") | |
@GET("list") | |
fun getListOfPicsums( | |
@Query("page") page: Int, | |
@Query("limit") limit: Int | |
): Call<List<Picsum>> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment