Okay. I'm still in the IDE and I'm still in the same basic Todo flow. We're going to add in a few more calls. This time we're going to just make a call to update a task and then to delete a task as well. Let's start with the update Todo. What we're going to do is we're just going to update the Todo that we capture up here like so. When we created this Todo, remember, we captured this ID. Let's just update that same Todo, to say given path of the ID, the ID that we captured because we're updating it Todo we need to add in another body as well. Let's say request title, the title first still then for this one, will say complete this update the complete to be True this time. Now we do when method Put.
Comments are closed.