Replace README.md
This commit is contained in:
@@ -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
|
||||
```html
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user