Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Get Method Retrofit

 public interface IService {

      String BASE_URL = "https://api.test.com/";
      String API_KEY = "SFSDF24242353434";

      @GET("Search") //i.e https://api.test.com/Search?
      Call<Products> getProducts(@Query("one") String one, @Query("two") String two,    
                                @Query("key") String key)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Get #Method #Retrofit
ADD COMMENT
Topic
Name
4+8 =