1234567891011121314151617181920212223242526 |
- <?php
-
- use App\Http\Controllers\EnquiryController;
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\Route;
- use App\Http\Controllers\TwilioController;
-
-
-
-
-
-
-
- Route::resource('/enquiry', EnquiryController::class);
-
- Route::post('/send-whatsapp', [TwilioController::class, 'sendWhatsAppMessage'])->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
- Route::post('/callback-whatsapp', [TwilioController::class, 'handleWhatsAppCallback'])->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
|