I am on linux, using apache. The dump shows in the response category of the page inspector, but the browser is not showing the same data.
javascript post code
const eHttp = new XMLHttpRequest()
eHttp.open("POST", "post.php", true)
eHttp.setRequestHeader('Content-type', 'application/json')
eHttp.send(JSON.stringify(dataMap['user']))
php code:
echo $_POST;
$_POST = json_decode(file_get_contents('php://input'), true);
var_dump($_POST);