I've managed to send some parameters via POST to a .php file. When I invoke var_dump($_POST);
, I get the following output:
["{"abc":"1","def":"2"}"]=>
string(0) ""
I've tried to process this many, many times but I can't seem to access the variables inside the String. json_decode
doesn't even work on it. What's going on here?