Last active
May 7, 2021 19:07
-
-
Save varundwarkani/264f7bd738f26d6d8f83cbeb22d755e0 to your computer and use it in GitHub Desktop.
This file contains 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 ApiService { | |
@FormUrlEncoded | |
@POST("api/getnews") | |
fun getNews(@Field("limit") limit: Int, @Field("offset") offset: Int): Observable<NewsAPIResponse> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment