laravel inertia csrf token code example
Example: laravel csrf token
<form method="POST" action="/profile">
@csrf
<input name="name">
<button type="submit">send</button>
</form>
<form method="POST" action="/profile">
@csrf
<input name="name">
<button type="submit">send</button>
</form>