Content negotiation with Spring Boot
In this post we will see how to implement content negotiation in a Spring Boot application. Introduction You may have written RESTful API endpoints where the client sends JSON request and the server sends back a JSON response. However, What would you do if the client can only understand XML? Obviously, You need to write extra logic for XML representation of…