title: Issue with content type in Spring
body: <p>I have an issue with a POST that I am receiving. I have the following endpoint:</p>
  
  <pre><code>@RequestMapping(value = "/payment", method = POST)
  public void saveOrder(@RequestBody PaymentDto paymentDto) throws RequiredFieldException, IOException, MessagingException {
  //do something
  }
  </code></pre>
  
  <p>Now, when someone send me POST on this URL, I get the following in response:</p>
  
  <pre><code>{"errorMessage":"Unsupported Media Type",
  "errorId":"906f5dc8-0b79-4f91-9eaa-a252e8d5ac76",
  "errorDetails":
      {"message":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported",
      "exception":"org.springframework.web.HttpMediaTypeNotSupportedException",
      "errors":null
  }}
  </code></pre>
  
  <p>How can I fix that? I cannot change content type header when I send it. It is send from server that I don't control.</p>