Laravel Utwórz wiele żądania
// Write this code in your controller
$request = Request::create(route('/api', ['arg' => 1]), 'GET');
$request->headers->set('X-Authorization', 'xxxxx');
Thibaudkhan