Check out example codes for "laravel csrf token". It will help you in understanding the concepts better.

Code Example 1

<form method="POST" action="/profile">
    @csrf
    <input name="name">
  	<button type="submit">send</button>
</form>

Code Example 2

<form action="{{ url('my-url') }}">
   @csrf

Code Example 3

{{ csrf_token() }}
{{ csrf_field() }}

Learn ReactJs, React Native from akashmittal.com