HttpMediaTypeNotSupportedException1 [Spring] Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported [Handler] Throwable Error!!! uri: {호출한 URI}, trace: org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported 개요 : 단순 form 에 데이터 넣고 submit 때린 것 밖에 없는데.. 왜 받질 못하니 😭 @PostMapping("/{호출할 URI}") @ResponseBody public Object myTestMethod(@RequestBody TestModel testModel) { // 수행코드 } 원인 : 다른 POST 통신할 때와 동일하게 모델을 @RequestBody.. 2020. 3. 20. 이전 1 다음