I have the following code:
public interface service {
@GET("?acao=R&tipo_refeicao={tipo}&data={data}")
public void getCardapio(
Callback<List<Cardapio>> getCardapio(@Query("tipo") int tipo, @Query("data") String data);
)
}
How do I pass more than one parameter?
I want to pass int and string which is a date. Would that be correct?
How would the correct one be?