Spring MVC Tutorials 38 – Web Services 08 ( Supporting XML format for REST APIs )


in this tutorial, I will show how to support XML format for REST APIs using Jackson DataFormatXML Jar. In addition to this, we will also learn how to attach
a header – Accept (application/xml or application/json) along with the http request message while making the request.