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  阅读(638)  评论(0)    收藏  举报