php 接收curl json 数据

curl -H "Content-Type: application/json" http://127.0.0.1:8000 -X POST -d 'xxxx'

php

$strParam = $GLOBALS['HTTP_RAW_POST_DATA'];

 

posted @ 2015-11-24 20:41  hao.ma  阅读(637)  评论(0编辑  收藏  举报