vendredi 24 juillet 2020

Disable required CSRF in POST method in selected route

I have 4 router, where I need disable required CSRF in post (payments).

Route::post('createPayment', 'DotpayController@createPayment')->name('frontend.dotpay.createPayment');
Route::post('paymentConfirmation', 'DotpayController@paymentConfirmation')->name('frontend.paymentConfirmation');
Route::match(['POST', 'GET'], 'paymentConfirmationSplash', 'DotpayController@paymentConfirmationSplash')->name('frontend.paymentConfirmationSplash');
Route::get('/paymentStatus', 'DotpayController@paymentStatus')->name('frontend.paymentStatus')

How can I make it?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/30NzxuS
via IFTTT

Aucun commentaire:

Enregistrer un commentaire