Recipe - Food - Nutrition

פרמיום
Verified
על ידי David | מְעוּדכָּן 5 days ago | Food
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

535ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Api response link not found for search recipes by ingredients

Rapid account: Antoniasimina 33
antoniasimina33
5 years ago

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 ?

Rapid account: Webknox
webknox Commented 5 years ago

The URL seems wrong, after “findByIngredients” there should be a question mark

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות