$param = [ 'headers' => ['Accept' => 'application/xml'], 'verify' => false ]; $url = 'https://xxxxx'; $response = $this->http->get($url, $param); $body = $response->getBody()->getContents(); print_r($body);
参考文章:https://mlog.club/article/3011591
更多精彩内容:各种AI课程、技能课程、黑科技软件、网站小程序源码、副业小项目、PPT模板等精品素材、电商课程、推广引流课程等,尽在 天边资源网 。