๐ณRecipes โ Docs
The recipes endpoint contains 200 recipes with ingredients, step-by-step instructions, tags, cuisine types, and meal categories.
Base URL: https://dummyapi-backend.onrender.com/api
GET https://dummyapi-backend.onrender.com/api/recipes
?limit?skip
fetch('https://dummyapi-backend.onrender.com/api/recipes').then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/:id
fetch('https://dummyapi-backend.onrender.com/api/recipes/:id').then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/search?q=
fetch('https://dummyapi-backend.onrender.com/api/recipes/search?q=').then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/tag/:name
fetch('https://dummyapi-backend.onrender.com/api/recipes/tag/:name').then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/meal/:type
fetch('https://dummyapi-backend.onrender.com/api/recipes/meal/:type').then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes
fetch('https://dummyapi-backend.onrender.com/api/recipes', {method: 'POST',headers: { 'Content-Type': 'application/json' },body: JSON.stringify({})}).then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/:id
fetch('https://dummyapi-backend.onrender.com/api/recipes/:id', {method: 'PUT',headers: { 'Content-Type': 'application/json' },body: JSON.stringify({})}).then(res => res.json()).then(console.log);
GET https://dummyapi-backend.onrender.com/api/recipes/:id
fetch('https://dummyapi-backend.onrender.com/api/recipes/:id', {method: 'DELETE',headers: { 'Content-Type': 'application/json' },body: JSON.stringify({})}).then(res => res.json()).then(console.log);