Laravel - Request and Response
Which of the following is the correct way to include CSRF protection in a Laravel Blade form?
@csrf inside forms to add a hidden CSRF token input automatically.@csrf is valid; other tags like <csrf> or <token> are invalid HTML or Blade syntax.@csrf in Blade forms [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions