postman模拟接收application/json类型回调

postman设置

image

 image

 

php接收方法

$_REQUEST = file_get_contents(‘php://input‘);
$_REQUEST = json_decode($_REQUEST,true);