Last active
August 25, 2017 08:47
-
-
Save BurakDizlek/1de65779511cde5187814f3db07df075 to your computer and use it in GitHub Desktop.
Retrofit interface sample
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 Service { | |
@FormUrlEncoded | |
@POST("info/getInfoDetail") | |
fun GetInfoDetail(@FieldMap params: HashMap<String, Any>): Call<InfoDetailObject> | |
@GET("search/{search_word}") | |
fun getSuggestSearchWords(@Path("search_word") search_word: String): Call<SearchWorObject> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment