I often see Spring Developers returning a ResponseEntiy and not manipulating the response. If all you're doing is returning a body just use the type as the return type. If you need to add headers or change status codes you can use ResponseEntity as the return type 🤷♂️
🔗Resources & Links mentioned in this video:
👋🏻Connect with me:
Website: [ Ссылка ]
Twitter: [ Ссылка ]
Github: [ Ссылка ]
LinkedIn: [ Ссылка ]
Newsletter: [ Ссылка ]
SUBSCRIBE TO MY CHANNEL: [ Ссылка ] ❤️
![](https://i.ytimg.com/vi/DvOGJDL6-98/maxresdefault.jpg)