curl --request GET \
--url https://api.example.com/doctor{
"[]": [
{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123
}
],
"200 OK (Empty Array)": {}
}curl --request GET \
--url https://api.example.com/doctor{
"[]": [
{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123
}
],
"200 OK (Empty Array)": {}
}curl -X GET http://localhost:8080/doctor
[
{
"crm": "123456789",
"email": "[email protected]",
"password": "securePassword123",
"name": "Dr. João Silva",
"specialty": "Cardiology",
"telephone": "+5534999887766",
"consultationValue": 250.00
},
{
"crm": "987654321",
"email": "[email protected]",
"password": "password456",
"name": "Dr. Maria Santos",
"specialty": "Pediatrics",
"telephone": "+5534988776655",
"consultationValue": 200.00
}
]
[].