Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

laravel blade csrf

<form method="POST" action="/profile">
    @csrf
 
    <!-- Equivalent to... -->
    <input type="hidden" name="_token" value="{{ csrf_token() }}" />
</form>
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #blade #csrf
ADD COMMENT
Topic
Name
3+4 =