@Produces

In this Spring Boot REST tutorial, you will learn how to make your RESTful Web Service endpoint respond back with either XML or JSON representation. When the client application sends a request to our web service to get a Resource, like for example, User Details, it can provide a special HTTP Header that will request…

Read More Return XML or JSON in Spring Boot Web Service