Recipe - Food - Nutrition

फ्रीमियम
Verified
द्वारा David | अपडेट किया गया 21 days ago | Food
लोकप्रियता

9.9 / 10

लेटेंसी

504ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

get recipes with using only part of recipe title

Rapid account: Oehqoehfo
oehqoehfo
4 years ago

when user searches for example “chocolate” in form tag, I want to send a request and get all recipes with “chocolate” included in title.

I tried both
"https://api.spoonacular.com/recipes/cuisine?title=chocolate"; and
"https://api.spoonacular.com/recipes/cuisine?title=“chocolate”";

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

what is wrong with my url?

Rapid account: Spoonacular
spoonacular Commented 4 years ago

You try to send a GET request to a POST endpoint: https://spoonacular.com/food-api/docs#Classify-Cuisine

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें