Laravel 8 Guzzle 配置
2021-07-19 10:43 更新
你可以使用 withOptions 方法来指定额外的 Guzzle 请求配置。withOptions 接受数组形式的键值对:
$response = Http::withOptions([
'debug' => true,
])->get('http://test.com/users');
以上内容是否对您有帮助:

免费 AI IDE


更多建议: