LoginSignup
0
0

<meta name="csrf-token" content="{{ csrf_token() }}">

Posted at

問題

layout.blade.php
<meta name="csrf-token" content="{{ csrf_token() }}">

これをheadに記載する理由がわからない

答え?

JavaScriptを使うときに、CSRFトークンを使えるようにするため?

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0