Replace README.md

This commit is contained in:
Wagner Corrales 2020-11-10 02:41:04 +00:00
parent d1de4f537b
commit 00000be5fb

View File

@ -37,7 +37,7 @@ HTML Forms: render a hidden input with the token in the form.
``` ```
JavaScript Requests: When sending an AJAX request, add the X-CSRFToken header to it. For example, in jQuery you can configure all requests to send the token. JavaScript Requests: When sending an AJAX request, add the X-CSRFToken header to it. For example, in jQuery you can configure all requests to send the token.
```javascript ```html
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<script> <script>