laravel make several http request code example
Example: ensure a header is included with request laravel
// Returns header value with default as fallback
$request->header('someHeader', 'defaultValue');
// Returns boolean
$request->headers->has('someHeader');