Recipe - Food - Nutrition

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

9.9 / 10

Latency

536ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Auto Complete link not working

Rapid account: LOHAN
LOHAN
8 years ago

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

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?

Join in the discussion - add comment below:

Login / Signup to post new comments