Recipe - Food - Nutrition

부분 유료
Verified
분류별 David | 업데이트됨 לפני 25 ימים | Food
인기

9.9 / 10

지연 시간

1,479ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Visualize Nutrition API always returns an error

Rapid account: Venninteractive
venninteractive
לפני 8 שנים

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입