Recipe - Food - Nutrition

부분 유료
Verified
분류별 David | 업데이트됨 hace 21 días | Food
인기

9.9 / 10

지연 시간

504ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

get recipes with using only part of recipe title

Rapid account: Oehqoehfo
oehqoehfo
hace 4 años

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 hace 4 años

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

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

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