The Cookbook postman collection present in the code named as - Cookbook.postman_collection.json
curl --location 'http://localhost:3000/recipes' \
--data ''
curl --location 'http://localhost:3000/recipes' \
--header 'Content-Type: application/json' \
--data '{
"name": "Sandwich",
"category": "Breakfast",
"items": ["bread", "tomatoes", "cucumber", "onion"]
}'
curl --location 'http://localhost:3000/recipes?name=Omlette' \
--data ''
curl --location --request PATCH 'http://localhost:3000/recipes/?id=65bfbf75871de38e28cdeab5' \
--header 'Content-Type: application/json' \
--data '{
"category": "Lunch"
}'
curl --location --request DELETE 'http://localhost:3000/recipes/?id=65bfbce2ceb8c35632547052' \
--data ''