api.php 489 B

12345678910111213141516171819
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | API Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register API routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | is assigned the "api" middleware group. Enjoy building your API!
  10. |
  11. */
  12. Route::group([
  13. 'prefix' => 'api',
  14. 'middleware' => 'auth:api',
  15. ], function () {
  16. //
  17. });