REST方法是否与HTML表单中表单元素发送的方法属性相同?

I have read everything I can find about REST style URIs and its noun and verbs, GET, POST, PUT, etc. What I did not see is where I put those methods to begin with. I can only find the back end PHP.

Is $_SERVER['REQUEST_METHOD'] looking at what I put here <form action="something.php" method="PUT">?

And from there I use the $_SERVER['REQUEST_METHOD'] to process it with switch or some other construct?

I think that's what this is saying, http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html


Seems you have to put it in a hidden value somewhere.