为什么form的method使用POST就出错?
为什么我在public文件夹下面的input.html里面写了如下的代码:
<form action = "\look\at" method="post">
Please enter your name.
<br>
<input type="text" name="text1">
<br>
<br>
<input type="submit" />
</form>
结果按下submit之后出现:
ActionController::InvalidAuthenticityToken
这样的错误?
我没有写method="POST"就一切正常?