function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sunil Kumar 545Sunil Kumar 545 

how to declare request body method in rest class using workbench kit

SandhyaSandhya (Salesforce Developers) 

Refer below link for similar discussion.
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.

Best Regards,
Hi, You can add the body if the REST request type is PUT or POST or PATCH then you will get an option to add the body.
User-added image