Removing unneeded trim
When parameter name is $request_data map it to request body
Simplified the logic
Improved restler to handle $request_data properly
getRequestData now includes query parameters by default. requestData property is protected to favour the use of getRequestData