PHP 对POST数据的处理

// 获取body中json数据并初始化为数组
$data = json_decode(file_get_contents('php://input'), true);

原文地址:https://www.cnblogs.com/ilookbo/p/5775008.html