DELETE Request

In this lesson, we will learn how to automate a DELETE request for an existing record.

HTTP DELETE request automation

In this lesson, we will discuss deleting a record using the DELETE request method.

Example 1 – DELETE request for a particular id

  • HTTP Method: DELETE
  • Target URL: http://ezifyautomationlabs.com:6565
  • Resource path: /educative-rest/students/{id}
  • Take a look at the code below:

Get hands-on with 1400+ tech skills courses.