All checks were successful
continuous-integration/drone/push Build is passing
8 lines
446 B
Bash
8 lines
446 B
Bash
#!/bin/bash
|
|
|
|
# Пример запроса к мобильному API календарного сервиса
|
|
curl -v -X POST http://localhost:8004/api/v1/calendar/entries/mobile \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer $(cat auth_token.txt)" \
|
|
-d '{"date": "2025-09-26", "type": "MENSTRUATION", "flow_intensity": 3, "symptoms": ["CRAMPS", "HEADACHE"], "mood": "NORMAL", "notes": "Тестовая запись"}'
|