Recipe - Food - Nutrition

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

9.9 / 10

レイテンシー

1,479ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Visualize Nutrition API always returns an error

Rapid account: Venninteractive
venninteractive
8 years ago

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 years ago

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 years ago

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

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

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