Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel response header

return response($content)
            ->header('Content-Type', $type)
            ->header('X-Header-One', 'Header Value')
            ->header('X-Header-Two', 'Header Value');
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #response #header
ADD COMMENT
Topic
Name
2+6 =