I'm studying retrofit and I came across the following problem:
I'm performing a get request on the url link
But when I mount the request I can not add the posts / 1 parameter
How's my code:
@GET("posts")
Call<ModelJson[]> ouvirMensagens(int page);
How could I mount the url without using a @Query ("") by mounting the url in the format below?