API EndPoints List
Method | Endpoint | Description |
---|---|---|
GET | /countries/ |
Get all countries |
GET | /directions/ |
Get all directions of recipes |
GET | /ingredients/ |
Get all ingredients |
GET | /kitchenware/ |
Get all kitchenware |
GET | /nutrifacts/ |
Get all nutrifacts |
GET | /recipes/ |
Get all recipes |
GET | /recipes/:id |
Get a single recipe |
GET | /recipetypes/ |
Get all recipe types |
GET | /regions/ |
Get all regions |
POST | /countries/ |
Post a country |
POST | /directions/ |
Post a direction |
POST | /ingredients/ |
Post a ingredient |
POST | /kitchenware/ |
Post a kitchenware |
POST | /nutrifacts/ |
Post a nutrifact |
POST | /recipes/ |
Post a recipe |
POST | /regions/ |
Post a region |
PUT | /countries/:id |
Put a country |
PUT | /directions/:id |
Put a direction |
PUT | /ingredients/:id |
Put a ingredient |
PUT | /kitchenware/:id |
Put a kitchenware |
PUT | /nutrifacts/:id |
Put a nutrifact |
PUT | /recipes/:id |
Put a recipe |
PUT | /regions/:id |
Put a region |
DELETE | /countries/:id |
Delete a country |
DELETE | /directions/:id |
Delete a direction |
DELETE | /ingredients/:id |
Delete a ingredient |
DELETE | /kitchenware/:id |
Delete a kitchenware |
DELETE | /nutrifacts/:id |
Delete a nutrifact |
DELETE | /recipes/:id |
Delete a recipe |
DELETE | /regions/:id |
Delete a region |