Ver originalif(isset($HTTP_RAW_POST_DATA)){ $input = $HTTP_RAW_POST_DATA; }else{ $input = implode("\r\n",file("php://input"));}error_log("Datos recibidos".var_export($input,true));