Created
April 14, 2019 14:56
-
-
Save amit-bhandari/75a78be19db6c15cced611360893e6c5 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 { | |
//I insist you put your own key here fellas | |
@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