Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated vor 25 Tagen | Food
Popularity

9.9 / 10

Latency

1,479ms

Service Level

100%

Health Check

N/A

Back to All Discussions

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

Join in the discussion - add comment below:

Login / Signup to post new comments