how to add csrf token redirect url to laravel code example
Example 1: laravel csrf token
<form method="POST" action="/profile">
@csrf
<input name="name">
<button type="submit">send</button>
</form>
Example 2: laravel add crf token form
<form action="{{ url('my-url') }}">
@csrf