curl -X GET https://api.arca.example.com/users/123e4567-e89b-12d3-a456-426614174000 \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
{
"id_User": "123e4567-e89b-12d3-a456-426614174000",
"nome": "John Doe",
"email": "[email protected]",
"roleId": 2
}
curl -X GET https://api.arca.example.com/users/123e4567-e89b-12d3-a456-426614174000 \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
{
"id_User": "123e4567-e89b-12d3-a456-426614174000",
"nome": "John Doe",
"email": "[email protected]",
"roleId": 2
}
Authorization: Bearer {token}
curl -X GET https://api.arca.example.com/users/123e4567-e89b-12d3-a456-426614174000 \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
{
"id_User": "123e4567-e89b-12d3-a456-426614174000",
"nome": "John Doe",
"email": "[email protected]",
"roleId": 2
}