Exercise
Try deleting the item you just created using the API endpoint. Verify it is deleted by going to the show action of that item and also the show action of the shopping list to confirm that the item has been deleted correctly.
Also, create a new item in a shopping list and update the is_checked
status of that item to true
(if it is false already), using the PATCH HTTP request. Confirm it is updated by invoking the show action on the Shopping List and confirm that the is_checked
status of that item is marked as true
.