閱讀706 返回首頁    go 阿裏雲 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優化