here is my controller code:
public function tournaments() {
$data = 0;
$response = Http::withHeaders(
[
'x-rapidapi-host'=> 'uxxxx',
'x-rapidapi-key'=> 'asdfasdfas',
]
)->get('https://unibet.p.rapidapi.com/competitions-by-sport/football');
return $response;
}
and response message received: {"message":"Missing required parameters"}
How can i add parameters to these code? for exmpl: params: {sport: 'football'},
And maybe someone could share a tutorial video on how to work with the API LARAVEL?