title: How to set accept media type in RestTemplate (Spring restful client)
body: <p>I am getting xml response from the spring restful service by default.
  Using RestTemplate in my spring restful client how can I configure the accept media type to JSON?</p>