use Illuminate\Support\Facades\Route; use App\Http\Controllers\GpsController; Route::post('/gps', [GpsController::class, 'store']); Route::get('/gps/latest', [GpsController::class, 'latest']); Route::get('/gps/track', [GpsController::class, 'track']);