1
Why Laravel keeps giving error after form Ubmit, even inserting in form.
{!! csrf_field() !!}
Even so this giving the erro === TokenMismatchException
Localhost - xamp - W 7 32 bts - PHP 7.2.0 in windows environment
Composer version 1.5.1
Standard/framework (v5.4.36)
Is the Post for the same domain or another application of yours? Could you explain the scenario and what you are doing?
– Leandro Angelo
@Leandro Angelo It’s for the same domain, the controller and the corresponding view are in the folder , at the moment I’m running on localhost
– PauloMaia
Include the relevant part of your code, the post is done via Javascript, you checked whether the request header shows the valid token?
– Leandro Angelo
@Leandro Angelo Controler -- https://pastebin.com/D13y1ga3
– PauloMaia
@Leandro Angelo Form -- https://pastebin.com/919YmgSw
– PauloMaia
@Leandro Angelo ROTA --- Route::post('/Register/step1', 'Auth Registercontroller@register_step1');
– PauloMaia