curl -H "Content-Type: application/json" http://127.0.0.1:8000 -X POST -d ‘xxxx‘
php
$strParam = $GLOBALS[‘HTTP_RAW_POST_DATA‘];
php 接收curl json 数据
原文:http://www.cnblogs.com/allenhaozi/p/4992857.html