By default, Spring Boot RESTful Web service endpoints consume and produce JSON representation. But we can easily make our RESTful Spring Boot Web service endpoints consume and produce an XML representation of a resource as well. Add XML Support to Spring Boot Project To make our Spring Boot project consume and produce an XML representation…

Read More Consuming XML in Spring Boot REST

In this Spring MVC 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 our…

Read More Return XML or JSON in Spring MVC Web Service

Free Video Lessons

Enter your email and stay on top of things,