POST http://localhost:8000/cake/newcake
PUT http://localhost:8000/cake/updateCake/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required Id of cake to Update |
DELETE http://localhost:8000/cake/deleteCake/{id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required Id of cake to Delete |
GET http://localhost:8000/cake/cakesByFlavour/${flavour}
Parameter | Type | Description |
---|---|---|
flavour |
string |
Required flavour of cake to fetch |
GET http://localhost:8000/cake/cakeByOrder
GET http://localhost:8000/cake/cakesByTags/${tags}
Parameter | Type | Description |
---|---|---|
tags |
string |
Required tags of cake to fetch |
GET http://localhost:8000/cake/cakeByID/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required id of cake to fetch |
GET http://localhost:8000/cake/allcakes
GET http://localhost:8000/cake/mostReviewed
GET http://localhost:8000/cake/recentness
GET http://localhost:8000/cake/cakesByTagsSortedByReviews/${tag}
Parameter | Type | Description |
---|---|---|
tag |
string |
Required tag of cake to fetch |
GET http://localhost:8000/cake/cakesByFlavourSortedByPrice/${flavour}
Parameter | Type | Description |
---|---|---|
flavour |
string |
Required flavour of cake to fetch |
GET http://localhost:8000/cake/cakesByTagsSortedByOrders/${tag}
Parameter | Type | Description |
---|---|---|
tag |
string |
Required tag of cake to fetch |
GET http://localhost:8000/cake/cakesByFlavoursSortedByReviews/${flavour}
Parameter | Type | Description |
---|---|---|
flavour |
string |
Required flavour of cake to fetch |
GET http://localhost:8000/cake/cakesByFlavoursSortByOrders/${flavour}
Parameter | Type | Description |
---|---|---|
flavour |
string |
Required flavour of cake to fetch |