Issue with content type in Spring
问题 I have an issue with a POST that I am receiving. I have the following endpoint: @RequestMapping(value = "/payment", method = POST) public void saveOrder(@RequestBody PaymentDto paymentDto) throws RequiredFieldException, IOException, MessagingException { //do something } Now, when someone send me POST on this URL, I get the following in response: {"errorMessage":"Unsupported Media Type", "errorId":"906f5dc8-0b79-4f91-9eaa-a252e8d5ac76", "errorDetails": {"message":"Content type 'application/x