Testowanie laravel Wyślij surowe dane w metodzie GET
$response = $this->withHeaders(['secreatKey'=>'1234fdsa'])->json('GET','/url/endpoint',['params'=>'value']);
muchlisoft