loA40Qfnhfl4vj8oCDDO1aM5l0WSLm933nRm3Txp
Bookmark

Spring에서 REST API PUT 데이터 안넘어갈때 처리법

web.xml파일을 열어서 추가한다.

<filter>
  <filter-name>HttpPutFormContentFilter</filter-name>
  <filter-class>org.springframework.web.filter.HttpPutFormContentFilter</filter-class>
 </filter>
 <filter-mapping>
  <filter-name>HttpPutFormContentFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>
참고 : https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc
본문 음성듣기
음성선택
1x
* [주의] 설정을 변경하면 글을 처음부터 읽습니다.
댓글 쓰기