title: How do you get a converted request from RestTemplate after a GET/POST/PUT call?
body: <p>I have no issues using Spring's RestTemplate to make POST or GET calls to an endpoint. I've also set the message converter as JSON (MappingJacksonHttpMessageConverter), no prob.</p>
  
  <p>My question is, how can I grab the converted request I'm sending?</p>
  
  <p>Example, if I do this:</p>
  
  <pre><code>ResponseEntity&lt;T&gt; result = this.restTemplate.postForEntity("http://{endpoint_url...}", dtoEntryObj, SomeDTO.class);
  </code></pre>
  
  <p>How could I grab the JSON that it's sending to the endpoint?</p>