Log In / Register
Current lesson:
Lab: Returning a list with GET

Level up with Spring Academy Pro

Ready to take your Spring skills to the next level? Upgrade to Spring Academy Pro and unlock access to all our Pro courses, lessons, labs—it’s everything you need to become a Spring Certified Professional.

In this lab you will complete the following objectives:

  • Test the new Cash Card "list" JSON data contract
  • Start with a failing test for a List endpoint
  • Implement a GET endpoint for a list
  • Implement pagination
  • Implement sorting
  • Combine paging and sorting and add default behavior
  • Learn about test interaction and the @DirtiesContext annotation

Carlton Schuyler

Staff Solutions Architect, Software Engineer

Carlton is a veteran of product and consulting companies where he's been writing and delivering software for longer than he cares to admit.

View Profile

Joe Moore

Senior Staff Engineer, Software Consultant, XP nerd

Joe is a passionate software engineer and Agile (XP!) practitioner with a mission to help others achieve amazing outcomes through software.

View Profile

Josh Long

Spring Developer Advocate, open-source hacker, book/video author and speaker

Josh has been the first Spring Developer Advocate since 2010. Josh is a Java Champion, an author of 6 books, a producer of best-selling video training, an open-source contributor, a podcaster, and a YouTuber.

View Profile

Share Your Feedback

Help us improve by sharing your thoughts on this lesson.

Thank you!
Share
Share Feedback