17.4: Test Delete
Last updated
Last updated
Delete
MethodOur final method to test is one that deletes a specific note.
You can keep the same URL
Change the verb to DELETE
Press Send and you should get 200 OK
To make sure the note was deleted, change DELETE to GET and take the /id off the end of the URL so it's just api/Note
Press Send and make sure the note is no longer there
You can close Postman and stop the app
Next, we'll use a different tool, Swagger, to test the endpoints.