1
I am having trouble creating the call with retrofit 2 to the following url: https://api.themoviedb.org/3/movie/2310?api_key=MINHA_API_KEY&language=pt-BR
On android, the call I’m making is returning an error, I do not know if it is because the model is wrong or if I’m doing the incorrect GET:
@GET("movie/{id}?")
fun getMovie(@Path("id") id: String,
@Query("apiKey") apiKey: String,
@Query("language") lang : String = "pt-BR" ): Call<Movie>
Could you help me find out if the GET I built is necessarily turning into the url I mentioned at the beginning? If so, I’ll go for model analysis