I need to pass a dynamic url to get the data from a server, for this I am using retrofit but at the moment of passing the url dimanicamente by means of the @Query of Retrofit I am changing the & for its code% 3F the problem is that I do not recognize it and I get an error on the server I have the following code: (I have tried the encoded variants in true false and in passing the & as% 3F but nothing has worked)
The Url I need is something like this: link the one that returns the method is the same only in & puts% 3F my code is this:
@GET(value = "torneo/tablaClasificacion/")
Call < RespuestaGenerica > getTabla(@Query(value = "torneoDetalleId",
encoded = true) String torneoDetalleId);
the call I do it like this:
retrofit2.Call<RespuestaGenerica> call = A
piAdapterRetro.getApiService().getTabla("26&callback");