use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\Flutter\AirtimeController; use App\Http\Controllers\Flutter\DataPurchaseController; use App\Http\Controllers\Flutter\ElectricityPaymentController; use App\Http\Controllers\Flutter\LoginController; Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); }); Route::post('/airtime/purchase', [AirtimeController::class, 'purchase']); Route::post('/data/purchase', [DataPurchaseController::class, 'purchase']); Route::post('/electricity/payment', [ElectricityPaymentController::class, 'pay']); Route::post('/cabletv/payment', [CableTvPaymentController::class, 'pay']); Route::post('/login', [LoginController::class, 'login']); Redirecting to http://poshvest.com/login Redirecting to http://poshvest.com/login.