cURL
curl --request GET \ --url http://{host}:{port}/{contextPath}/user/{id}/profile \ --header 'Authorization: Basic <encoded-value>'
{ "id": "jonny1", "firstName": "John", "lastName": "Doe", "email": "anEmailAddress" }
Retrieves a user’s profile.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the user to retrieve.
Request successful.
The id of the user.
The first name of the user.
The email of the user.