阅读706 返回首页    go 技术社区[云栖]


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

使用函数:  file_get_contents($url);

 

传入接口url及其参数:如

 

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

$ret=file_get_contents($url);

最后更新:2017-04-02 00:06:46

  上一篇:go 利用js生成文本框的setfocus的问题
  下一篇:go 关于百度与GOOLE优化