You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/bash
|
|
|
|
|
|
curl -s \
|
|
|
'http://clinica.local.netu.no:9000/services/medicos' \
|
|
|
-X 'POST' \
|
|
|
-H 'accept: */*' \
|
|
|
-H 'Content-Type: application/json' \
|
|
|
-H "Authorization: Bearer $TOKEN" \
|
|
|
-d '{
|
|
|
"crm": "02345780",
|
|
|
"especialidades": [
|
|
|
"9fe6bca9-7da2-4f23-a26a-c6c20872aa6c",
|
|
|
"d4688e22-ee5f-45d9-8526-36d53de50986"
|
|
|
],
|
|
|
"convenios": ["140b9cad-d4f9-44c7-b921-ac5f4ce5020f"],
|
|
|
"nome": "medico teste 1"
|
|
|
}' | jq
|