Spring Boot - Request and Response Handling
How can you correctly add a custom header
X-Trace-Id with value 12345 to a Spring Boot controller response using ResponseEntity?