RESTClient是一个用于测试RESTful Web services的Java客户端。
firefox与google chrome都可以安装restClient,
通过设置header content-type
在要测试的php页面,可以直接用$_POST来测试或用$GLOBALS来打印测试
还可以用file_get_contents('php://input', 'r');
file_get_contents('php://input');
转:http://blog.csdn.net/motian06/article/details/8207923
解释不清,直接上例子
index.html
[php] view plaincopy
<?php
如有问题,可以QQ搜索群1028468525加入群聊,欢迎一起研究技术
转载请注明:restclient使用 出自老鄢博客 | 欢迎分享