PUT Request

In this lesson, we will learn how to automate the PUT request to update an existing record.

HTTP PUT request automation

In this lesson, we will discuss updating an existing record using the PUT request method.

Example 1 – PUT request using POJO class

  • HTTP Method: PUT
  • Target URL: http://ezifyautomationlabs.com:6565
  • Resource path: /educative-rest/students
  • Message body: As a Java object
  • Take a look at the code below:

Get hands-on with 1000+ tech skills courses.