You can use this api to test your crud skills.
Validation is not yet implemented. use following routes to test. The data will refresh every hour. so feel free to insert as many records as you want.
route | Method | data | output |
---|---|---|---|
https://usman-recipes.herokuapp.com/api/recipes | GET | a list of recipes | |
https://usman-recipes.herokuapp.com/api/recipes/:id | GET | a single of recipe. put the id of the record in :id | |
https://usman-recipes.herokuapp.com/api/recipes | POST | {'title':'Title of recipe','body','description of your recipe'} | Create a new Recipe |
https://usman-recipes.herokuapp.com/api/recipes/:id | PUT | {'title':'Title of recipe','body','description of your recipe'} | Update a Recipe. put the id of the record in :id |
https://usman-recipes.herokuapp.com/api/recipes/:id | DELETE | DELETE a Recipe. put the id of the record in :id |