Deepak
Deepak3y ago

Deepak – 06-27 Jul 6

hello guys, Can someone help me to construct a dynamic url ? I am building a recipe search app using an api. I need to construct a dynamic url based on selected user input
const category={
q="",
mealtype="breakfast",
cuisinetype="American",
dishType="Soup"
}

const base = `https://api.edamam.com/api/recipes/v2?type=public&q=${query}=&app_id=${app_id}&app_key=${app_key}`;
const category={
q="",
mealtype="breakfast",
cuisinetype="American",
dishType="Soup"
}

const base = `https://api.edamam.com/api/recipes/v2?type=public&q=${query}=&app_id=${app_id}&app_key=${app_key}`;
3 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot3y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/994127483177807983 Question not getting answered? Maybe it's hard to answer, or maybe you asked at a slow time. Check out these resources for help asking a good question: https://stackoverflow.com/help/how-to-ask http://wp.me/p2oIwo-26