I am getting the following error: Caused by:
java.lang.IllegalArgumentException: URL query string "c={category}" must not have replace block. For dynamic query parameters use @Query.
I have tried to following the documentation for dynamic questions and this seems to be the way to do it.
I have also tried using the @Query tag but with no luck.
This is my request:
@GET("filter.php?c={category}")
fun getRecipesForCategory(@Path("category") categoryName: String): Single<Meals>