Replace README.md
This commit is contained in:
parent
d1de4f537b
commit
00000be5fb
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user