SyntaxFix
Write A Post
Hire A Developer
Questions
I was facing the same problem, following code worked for me:
$params = (array) json_decode(file_get_contents('php://input'), TRUE); print_r($params);