Request::getArgs() can't get data from STDIN when client post JSON / XML to Server.
for example:
post JSON via angularjs
$http({
url: '/api/task/create',
method: "POST",
data: JSON.stringify(newTask)
}).success(function(data) {
console.log(data);
})
})
in Action:
$this->request->getArgs(); // got nothing