This API provides recipes for building the forkify project
Allowed methods: GET POST
GET: Returns a list of recipes for a specific search query
POST: Creates a new recipe
URL: https://forkify-backend-1amw.onrender.com/forkify/recipes
Parameter | Required | Description |
---|---|---|
Search | Yes | Search text. For example search=pizza |
key | Only for POST | The Forkify API key |
Example URL: https://forkify-backend-1amw.onrender.com/forkify/recipes?search=biryani&key=`your-api-key`
Allowed methods: GET DELETE
GET: Returns a single recipe
DELETE: Deletes a single recipe associated with provided API key
URL: https://forkify-backend-1amw.onrender.com/forkify/recipes/:id
Parameter | Required | Description |
---|---|---|
id | Yes | The id of the recipe to be fetched or deleted (part of URL) |
key | Yes(for DELETE) | The Forkify API key |
Example URL: https://forkify-backend-1amw.onrender.com/forkify/recipes/1dlYixYOCTsOlXHh2soCFrF7?key=`your-api-key`