- 添加支援
請求PUT
@Configuration
public class ServletContextConfig extends WebMvcConfigurationSupport {
@Bean
public FormContentFilter httpPutFormContentFilter() {
return new FormContentFilter();
}
}
Java使用PUT送出請求錯誤碼400及415解決方案