Laravel - HTTP Client - Get Request Query Parameters
When making GET
requests, you may either append a query string to the URL directly or pass an array of key / value pairs as the second argument to the get
method:
$response = Http::get('http://example.com/users', [
'name' => 'Taylor',
'page' => 1,
]);