Recipe - Food - Nutrition

부분 유료
Verified
분류별 David | 업데이트됨 17일 전 | Food
인기

9.9 / 10

지연 시간

527ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Auto Complete link not working

Rapid account: LOHAN
LOHAN
8년 전

Im trying to call this link for auto complete
"https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/autocomplete"

with headers
[“X-Mashape-Key” : “My Key” , “query” : “burger”]

I do not receive any information, instead i receive

{
“link” : “https://www.mashape.com/webknox/”,
“code” : 0,
“status” : 500,
“message” : “We’re so sorry, something went wrong. If this error persists, please contact us.”
}

Rapid account: Spoonacular
spoonacular Commented 8년 전

Hi Lohan, I currently cannot reproduce that error with the query you sent. For me the result looks like this:

<pre><code>
[
{
“id”: 362230,
“title”: “burger”
},
{
“id”: 79627,
“title”: “burger buns”
},
{
“id”: 119909,
“title”: “burgerpizza”
},
{
“id”: 506528,
“title”: “burger cake”
},
{
“id”: 528118,
“title”: “burger buns”
},
{
“id”: 71780,
“title”: “burger bliss”
},
{
“id”: 110943,
“title”: “burger salad”
},
{
“id”: 99818,
“title”: “burger spread”
},
{
“id”: 197483,
“title”: “burger sliders”
},
{
“id”: 274790,
“title”: “burger skillet”
}
]</code></pre>

Do you still see the error? How did you set the “number” parameter?

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

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