Question: Write a small Java application that can be used as a client for the given REST endpoint. In detail, you should 1. Create a Java
Write a small Java application that can be used as a client for the given REST endpoint. In
detail, you should
1. Create a Java Class UserDTO that contains the fields id, email, firstName and
lastName.
2. Create a Java Class UserClient that contains a method for querying the first page
of the given REST endpoint. Please make sure that the result is returned as
List
3. Add a main method to UserClient that calls the above method and also prints the
firstName and lastName of each user to the console.
You are free to choose your favorite libraries or frameworks to achieve the goals looking for guidance and structure can you provide?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
