一、请求类型 1、我们判断Request的请求类型,比如get、post等 2、可以使用method方法来判断当前的请求类型 3、使用普通表单提交,通过method方法获取类型 <form action="http://localhost/tp6/public/rely/get" method="post"> <input type="text" name="name" value="Lee">