Removing unneeded trim
When parameter name is $request_data map it to request body
Simplified the logic
Improved restler to handle $request_data properly