Recipe - Food - Nutrition

フリーミアム
Verified
よって David | 更新済み 4 days ago | Food
人気

9.9 / 10

レイテンシー

536ms

サービスレベル

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿