Sep 13th, 2011, 02:45 PM
Output JSON string creating in RestTemplate
Is there anyway to output the JSON string being created when calling postForLocation on RestTemplate? I have debug turned on for org.springframework.web but only see "Writing [com.company.record@fb2345] using [org.springframework.http.converter.json.MappingJac ksonHttpMessageConverter@78e625]"
My issue is that I am trying to convert from using Jersey to RestTemplate. It works fine in Jersey but am receiving a 500 error with RestTemplate.
Tags for this Thread