The best way to add a Request Body to a POST request
2021-11-29u2002·u2002Rest-Assured will do the magic when the body() method uses an object where it will try to find the required request attribute names into the object used.. The request needs the name and job attributes, as text. As the User object has the name and job attributes as String (text) RestAssured will to the automatic value match. Both combinations of attribute and value …
Get Price