content-type이 text/plain 형식의 json 데이터를 처리해야 할 때, Spring Mvc Controller에서는
@PostMapping(value = ["/sns/subscribe"], consumes = [MediaType.ALL_VALUE])
fun consume(@RequestBody jsonData: String){
println(jsonData)
}
https://seeminglyjs.tistory.com/398
chatGpt