I am trying to read in a JSON message in my PHP app and this is my php code:
$json = file_get_contents(\'php://input\'); $obj = json_decode($json, TRUE); ech
Try this https://stackoverflow.com/a/56801419/7378998
It works for JSON or jquery post
$.post(url, $('form').serialize());