Getting one user by ID

Create a GET function with this URL: http://localhost:8080/user/1, and hit Send. The user details will be fetched from the database and you can see the return JSON value of a user whose id is 1, as in the following screenshot: