Send a POJO as the request body
Automation taskMediumJava onlyAsked in: Accenture, Capgemini
The other half of the POJO question (a POJO is a plain Java class that only holds data) is: "How do you build request bodies?" Passing an object to body() and letting REST Assured turn it into JSON is cleaner than writing JSON strings by hand.