api.php 645 B

1234567891011121314151617181920
  1. <?php
  2. use Illuminate\Http\Request;
  3. use Illuminate\Support\Facades\Route;
  4. use Illuminate\Support\Facades\DB;
  5. use App\Http\Controllers\ApplicationController;
  6. use App\Http\Controllers\API\UserController;
  7. /*
  8. |--------------------------------------------------------------------------
  9. | API Routes
  10. |--------------------------------------------------------------------------
  11. |
  12. | Here is where you can register API routes for your application. These
  13. | routes are loaded by the RouteServiceProvider within a group which
  14. | is assigned the "api" middleware group. Enjoy building your API!
  15. |
  16. */
  17. Route::get('/user/{id}', [UserController::class, 'show']);