Recipe - Food - Nutrition

FREEMIUM
Verified
От David | Обновлено 25日前 | Food
Популярность

9.9 / 10

Задержка

1,479ms

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

100%

Health Check

N/A

Назад ко всем обсуждениям

Visualize Nutrition API always returns an error

In the example on your website the “Visualize Nutrition” field always returns that the request wasn’t understood. I tried it in my own code with a JSON request as well and got the same result. Looks like that is broken?

Rapid account: Spoonacular
spoonacular Commented 8年前

Hi, the endpoint worked but mashape added a header Accept: text/plain which was incorrect. I changed it to text/html and now it works again 😃

Rapid account: Spoonacular
spoonacular Commented 8年前

You are right, something is not right there. I will look into this latest by end of next week (currently on vacation).

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

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