echo (file_get_contents('php://input'));将向您显示json文本。像这样工作:
$jsonString = file_get_contents('php://input');$jsonObj = json_depre($jsonString, true);
echo (file_get_contents('php://input'));将向您显示json文本。像这样工作:
$jsonString = file_get_contents('php://input');$jsonObj = json_depre($jsonString, true);