php请求接口的方式

0 阅读1分钟
  1. file_get_contents函数

$res = file_get_contents('https://www.rbzzz.com'); var_dump($res);exit;

  1. curl请求

    图片

    图片