Part 19 - Get JSON List Using @ResponseBody Annotation in Controller
This is Part 19 of our complete application in Spring Boot (FleetMS version 2). In this part, we are going to writh method to return a list of countries in JSON format using the @ResponseBody annotation Normally the Controller class methods return html templates. But if you would like to return JSON instead, the you need to also annotate the method with the @ResponseBody annotation. You can find other parts here: Part 0 - Introduction - https://youtu.be/FzNqL3dxEwc Part 1 - Setup in IntelliJ - https://youtu.be/DOkXlmFMHic Part 2 - Setup the Nice Admin Template - https://youtu.be/Itbcz360lTc Part 3 - Push to GitHub Repository - https://youtu.be/nxsEZJFXfGE Part 4 - Setup Layout and Content Page - https://youtu.be/5lfrFqXm8-w Complete Playlist here https://bit.ly/3vzz0M3 Feel free to connect with me ❤️ Kindson on Facebook: https://www.facebook.com/kindsonm/ ❤️ Kindson on Instagram: https://www.instagram.com/kindsonthegius ❤️ Kindson on LinkedIn: https://www.linkedin.com/in/kindson/ ❤️ Kindson on Twitter: https://twitter.com/KindsonM Please join us at International Computer Programmers here: 👉 https://www.facebook.com/groups/1447709731988533 I'll appreciate your support ✅ Buy me a coffee: https://www.buymeacoffee.com/KindsonM
Download
0 formatsNo download links available.