Created
June 26, 2018 07:53
-
-
Save emir/800ef80a01558cfb0b7d6c539e66709f to your computer and use it in GitHub Desktop.
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 | |
/* | |
|-------------------------------------------------------------------------- | |
| API Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register API routes for your application. These | |
| routes are loaded by the RouteServiceProvider within a group which | |
| is assigned the "api" middleware group. Enjoy building your API! | |
| | |
*/ | |
Route::get('dummy', function(\Illuminate\Http\Request $request) { | |
\Illuminate\Support\Facades\Log::info('I am just a info error.'); | |
\Illuminate\Support\Facades\Log::critical('I am a critical error'); | |
return response()->json([], 204); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment