UGHHH.... i am sorry.
there is no diffrence in using jquery, BUT:
if you are using "Content-Type", "application/json" php is bypassing this and not showing it in $_POST var.
in oder to receive a plain json request with php you have to use:
$data = json_decode(file_get_contents('php://input'), true);
instead...
you CAN NOT USE $_POST variable, cause it shows no content i
Forum:
WampServer English