|
|
|
@ -0,0 +1,17 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
curl -s \ |
|
|
|
'http://clinica.local.netu.no:9000/services/pacientes' \ |
|
|
|
-X 'POST' \ |
|
|
|
-H 'accept: */*' \ |
|
|
|
-H 'Content-Type: application/json' \ |
|
|
|
-H "Authorization: Bearer $TOKEN" \ |
|
|
|
-d '{ |
|
|
|
"cpf": "30984402", |
|
|
|
"data_de_nascimento": "2026-03-19", |
|
|
|
"endereco": "rua inexistente 42", |
|
|
|
"nome": "paciente teste 1", |
|
|
|
"rg": "2347892", |
|
|
|
"telefone": "5555-5555", |
|
|
|
"convenios": ["140b9cad-d4f9-44c7-b921-ac5f4ce5020f"] |
|
|
|
}' | jq |