Created
January 24, 2020 12:44
-
-
Save iambaljeet/1339299ea7b06fd0f1a9932a36994cd8 to your computer and use it in GitHub Desktop.
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 ApiService { | |
companion object { | |
val BASE_URL: String = "https://demo.dataverse.org/api/" | |
} | |
@GET("search") | |
suspend fun getResult( | |
@Query("q") query: String?): Response<SearchResultModel?> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment