1
I am developing a form but csrf_token does not work:
<form method="POST" action="/storeXML" class="form-inline">
<div class="container">
<input type="hidden" value="{{ csrf_token() }}">
<label class="">Url da integração</label>
<input type="text" class="form-control" placeholder="Digite a URL do XML">
<button type="submit" class="btn btn-primary">Enviar</button>
</div>
</form>
The route is like this:
Route::post('/storeXML', 'IntegrationController@storeXml')->name('store');
And returns the following error:
Any idea how to solve this type of problem?