Recipe - Food - Nutrition

免费增值
Verified
通过 David | 已更新 vor 25 Tagen | Food
人气

9.9 / 10

延迟

1,479ms

服务等级

100%

Health Check

N/A

返回所有讨论

Visualize Nutrition API always returns an error

Rapid account: Venninteractive
venninteractive
vor 8 Jahren

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 vor 8 Jahren

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 vor 8 Jahren

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论