SpringMVC is not recognizing request body parameters if using PUT

后端 未结 4 1124
我在风中等你
我在风中等你 2020-12-04 16:50

Maybe this is supposed to not work, but at least I\'d like to understand why then. I am passing a simple val=somevalue in the PUT body but spring sends back a <

4条回答
  •  广开言路
    2020-12-04 17:28

    Since Spring 3.1, this is resolved using org.springframework.web.filter.HttpPutFormContentFilter.

    
        httpPutFormContentFilter
        org.springframework.web.filter.HttpPutFormContentFilter
    
    
    
        httpPutFormContentFilter
        rest
    
    

提交回复
热议问题