Calling REST from Java with Spring WebClient

In this video, Marcus Hellberg shows you how to call a REST endpoint in Java using the Spring RestClient library, how to create Java objects from the response, and how to show the result in a data grid. 0:00 - Intro 0:18 - Creating a project with Spring Initializr 1:07 - Opening the project in IntelliJ 1:35 - REST endpoint overview 2:00 - Creating Java objects for the REST response 3:43 - Creating a service and initializing WebClient 4:59 - Calling a REST endpoint with WebClient 6:06 - Displaying data in a data grid 9:06 - Outro GitHub for code: JSON to POJO: Demo data API: Spring Initializr:
Back to Top