cURL
curl --request GET \
--url http://localhost:8081/admin-service/users \
--header 'origin: <origin>'const options = {method: 'GET', headers: {origin: '<origin>'}};
fetch('http://localhost:8081/admin-service/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users"
headers = {"origin": "<origin>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"gender": "FEMININE",
"document": "<string>",
"birthDate": "2023-12-25",
"dialingCode": "<string>",
"phone": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Get admin serviceusers
List all users
GET
/
admin-service
/
users
cURL
curl --request GET \
--url http://localhost:8081/admin-service/users \
--header 'origin: <origin>'const options = {method: 'GET', headers: {origin: '<origin>'}};
fetch('http://localhost:8081/admin-service/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users"
headers = {"origin": "<origin>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"gender": "FEMININE",
"document": "<string>",
"birthDate": "2023-12-25",
"dialingCode": "<string>",
"phone": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]