What have you found for these years?

2009-03-04

rails 可笑的 put 和 delete

input name="_method" type="hidden" value="put"
input name="_method" type="hidden" value="delete"

是哪個神經病想出這種爛招的啊?造成一堆困擾...

2 retries:

Plumm said...

原來,把 method 放成 hidden 欄位呀,這招我在 PHP 上也看過 :QQQ

godfat 真常 said...

假造 http request 是不好的事

Post a Comment

All texts are licensed under CC Attribution 3.0