When we send the request as JSON string method from postman to Restlet .The request body should be parse to object to get values
We give input in postman as
{
“id”:”345″
}
In script we need object not string so the given request body need to parse
Syntax JSON.parse(requestBody)