Skip to content

Instantly share code, notes, and snippets.

@ferdousulhaque
Created August 2, 2020 15:11
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 ferdousulhaque/ffda70b65c675dc8f80c07ed591e8617 to your computer and use it in GitHub Desktop.
Save ferdousulhaque/ffda70b65c675dc8f80c07ed591e8617 to your computer and use it in GitHub Desktop.
Routes for the OTP service
<?php
use Illuminate\Support\Facades\Route;
Route::get('/test/purchase', 'OtpController@confirmationPage');
Route::post('/test/otp-request', 'OtpController@requestForOtp')->name('requestForOtp');
Route::post('/test/otp-validate', 'OtpController@validateOtp')->name('validateOtp');
Route::post('/test/otp-resend', 'OtpController@resendOtp')->name('resendOtp');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment