Your Turn: Implement DELETE
It's your turn to implement DELETE in your application. Let's take a look at the steps required to do that.
Steps to implement DELETE
- Give your users the ability in the UI to delete an existing item. This can easily be done with a button.
- Hook your UI element up to your associated component and call your service. We used a the click handler in the CampTracker.
- Inside of your service, implement the ability to remove an item. Make your DELETE request.
After this, you should have a fully working DELETE in your application.