lundi 27 juin 2016

Why does not work POST routing in Laravel

I use the standard authentication mechanism in Laravel.

Route path is:

Route::post('auth/register', 'Auth\AuthController@postRegister');

HTML form is:

<form method="POST" action="/auth/register">

When I submit form I get 404 error.

But path for GET methos works:

Route::get('auth/register', 'Auth\AuthController@getRegister');



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28YOpvX
via IFTTT

Aucun commentaire:

Enregistrer un commentaire