As the title of the question correctly says, I am trying to show a list of countries with the following URL given by the teacher link , for this I created an interface in the following way:
public interface ICountryService {
String ENDPOINT = "https://restcountries.eu";
@GET("/rest/v1/all")
Call<List<Country>> getCountry(@Path("country") String country);
}
The fact is that he will not let me remove the @PATH because it gives an error but I suspect that he should not take it, because the list of countries is in that URL.