Answers for "check for headers laravel"

PHP
0

check for headers laravel

// Returns header value with default as fallback
$request->header('some_header', 'default_value');

// Returns boolean
$request->headers->has('some_header');
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language