tmp commit

This commit is contained in:
2025-10-16 17:51:45 +09:00
parent 537e7b363f
commit ce72785184
6 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/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": "Тестовая запись"}'