I am making an application in Android Studio for searching recipes by ingredients , when i used Retrofit for this link : “https://spoonacular-recipe-food-nutrition-v1.p.rapidapi.com/recipes/findByIngredients?number=2&ranking=1&ignorePantry=false&ingredients=apples%2Cflour%2Csugar”
And also I added header for X-RapidAPI-Host and X-RapidAPI-Key . I get this response :
Response{protocol=http/1.1, code=404, message=Not Found, url=https://spoonacular-recipe-food-nutrition-v1.p.rapidapi.com/recipes/findByIngredients%3Fnumber=2&ranking=1&ignorePantry=false&ingredients=apples%252Cflour%252Csugar}
Another questions why searching for recipes by ingredients does not have instruction for making the recipe ?
Participez à la discussion - ajoutez un commentaire ci-dessous:
The URL seems wrong, after “findByIngredients” there should be a question mark