RequestMathod可以同时支持post和get请求访问吗
post 请求访问
@requestMapping(value="",method=requestmethod.post)
get请求访问@RequestMapping(value"",methodrequesMethod.get)
@Requestmapping同时支持2中
RequestMethod常用的参数
get(select):弄服务器查询,在服务器通过请求参数区分查询的方式。
post(add):在服务器新建资源
put(update):在服务器更新资源
delete(delete):在服务器删除资源
                    
                
                
            
        
浙公网安备 33010602011771号