当前位置: 移动技术网 > IT编程>开发语言>PHP > php中调用其他系统http接口的方法说明

php中调用其他系统http接口的方法说明

2019年03月30日  | 移动技术网IT编程  | 我要评论

使用函数:  file_get_contents($url);

传入接口url及其参数:如

$url="http://192.168.1.1/test.jsp?id=1&type=2";

$ret=file_get_contents($url);

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网