Dec 11, 2018
0
Level 1
How to fix POST request 419 error? | Laravel 5.7
For two days, there is one problem displayed in my localhost (XAMMPP and OpenServer).
Sorry, your session has expired. Please refresh and try again.
I tried to clear cache, route, views, sessions... and also generated new app key but they doesn't helpd to fix this problem. Everything is works in Real hosting. However, localhost (http://localhost:8000) does not work POST requests.
I used
Laravel Collections and
I did all the answers in the forums but did not work anything. I also cleared browsers..
Now i have
{!! Form::open(array('url' => array('nuu-admin/directions/submit_direc'),'class'=>'','name'=>'category_form','id'=>'category_form','role'=>'form','enctype' => 'multipart/form-data')) !!}
---
< form method="POST" action="{{ route('login') }}" >
@csrf
All of them doesn't work. Everytime displayed 419 error page!!
How can i solve this problem? Please give some advice! Thanks!
Please or to participate in this conversation.