There is a html code
<form method="post" action="/addComment" class="comments-add-area-entry"> <div class="comments-add-area-entry-top"> <div class="input"> <label>ΠΠ²Π΅Π΄ΠΈΡΠ΅ ΠΠ°ΡΠ΅ ΠΈΠΌΡ</label> <input type="text"> <div class="clearfix"></div> </div> <div class="input"> <label>ΠΠ²Π΅Π΄ΠΈΡΠ΅ ΠΠ°Ρ e-mail</label> <input type="text"> <div class="clearfix"></div> </div> <div class="input"> <label>ΠΠ²Π΅Π΄ΠΈΡΠ΅ ΠΠ°Ρ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ</label> <textarea></textarea> <div class="clearfix"></div> </div> <div class="input"> <button><i class="fa fa-commenting"></i>ΠΠΎΠ±Π°Π²ΠΈΡΡ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ</button> </div> </div> </form> And controller
public function addComment() { echo "hello world"; } The fact is that when I go to the address, everything is given out normally, and when I go through the form I get:
TokenMismatchException in VerifyCsrfToken.php line 53: