Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated 13 days ago | Food
Popularity

9.9 / 10

Latency

488ms

Service Level

100%

Health Check

N/A

Back to All Discussions

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).

Join in the discussion - add comment below:

Login / Signup to post new comments