cURL
curl --request GET \ --url https://api.example.com/api/v1/users/findById/{id}
{ "id": "550e8400-e29b-41d4-a716-446655440000", "userName": "jsmith", "name": "John Smith", "birthDate": "1990-05-15", "bookIds": [ "7c9e6679-7425-40de-944b-e07fc1f90ae7", "9f3e4a56-2c1d-4b8e-8f6d-5a3c2b1d4e5f", "3d8f5b2a-1e4c-6d7f-9a0b-8c7e6d5f4a3b" ] }
Retrieves a specific user by their unique identifier
Authorization: Bearer <your_jwt_token>
curl -X GET "https://api.library.com/api/v1/users/findById/550e8400-e29b-41d4-a716-446655440000" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."