CSRF Tokens & JavaScript
When building JavaScript driven applications, it is convenient to have
your JavaScript HTTP library automatically attach the CSRF token to
every outgoing request. By default, the Axios HTTP library provided in
the resources/js/bootstrap.js
file automatically sends an X-XSRF-TOKEN
header using the value of the encrypted XSRF-TOKEN
cookie. If you are not using this library, you will need to manually configure this behavior for your application.