请问 如何解决c#post过来的数据 他说放在body里面 让我的接口调用 该如何实现拿到里面的数据 ? 求代码实例
------解决思路----------------------
file_put_contents('test.txt', print_r($_post, 1));
看看文件内容
------解决思路----------------------
$post = file_get_contents(php://input);
var_dump($post);
------解决思路----------------------
对方post后,看看data.txt有什么内容。
------解决思路----------------------
放在body post就是在header把二进制post过来。
参考:http://blog.csdn.net/fdipzone/article/details/40098169
