Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check for headers laravel

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

// Returns boolean
$request->headers->has('some_header');
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #check #headers #laravel
ADD COMMENT
Topic
Name
6+7 =