Skip to content

Instantly share code, notes, and snippets.

@emir
Created June 26, 2018 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emir/800ef80a01558cfb0b7d6c539e66709f to your computer and use it in GitHub Desktop.
Save emir/800ef80a01558cfb0b7d6c539e66709f to your computer and use it in GitHub Desktop.
<?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