111 发表于 2017-4-12 09:19:04

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

  使用函数: file_get_contents($url);
  传入接口url及其参数:如
  $url="http://192.168.1.1/test.jsp?id=1&type=2";
  $ret=file_get_contents($url);
页: [1]
查看完整版本: php中调用其他系统http接口的方法