使用函数: file_get_contents($url);
传入接口url及其参数:如
$url="http://192.168.1.1/test.jsp?id=1&type;=2";
$ret=file_get_contents($url);
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8