Created
April 14, 2019 14:19
-
-
Save amit-bhandari/ac73359479bbcf2a6e3b34836d04f4af 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
public interface QuoteAPI { | |
@Headers({ | |
"X-Mashape-Key:your_api_key", | |
"Content-Type: application/x-www-form-urlencoded", | |
"Accept: application/json" | |
}) | |
@GET("/") | |
Call<Quote> getQuote(@Query("cat") String category, @Query("count") int count); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment