Last active
April 7, 2017 06:18
-
-
Save paulredmond/cbca443b537dae035d6c8bfb737499f3 to your computer and use it in GitHub Desktop.
Example Laravel Route that Returns Request Headers for Demonstration Purposes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::get('/example', function () { | |
return request()->headers->all(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment