Recipe - Food - Nutrition

FREEMIUM
От David | Обновлено 14 days ago | Food
Популярность

9.9 / 10

Задержка

485ms

Уровень обслуживания

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии