$json = file_get_contents('php://input');
$obj = json_decode($json,true);
Jag tror att du skickar fel variabel. Du bör skicka $json i json_decode som visas ovan.
$json = file_get_contents('php://input');
$obj = json_decode($json,true);
Jag tror att du skickar fel variabel. Du bör skicka $json i json_decode som visas ovan.