Доработка текстовых сообщений
This commit is contained in:
@@ -211,7 +211,6 @@ def request_patient_information():
|
||||
try:
|
||||
|
||||
|
||||
|
||||
data = request.get_json()
|
||||
print(data)
|
||||
user_id = data.get('user_id')
|
||||
@@ -369,7 +368,7 @@ def sending_patient_data():
|
||||
|
||||
print("Отправляемые данные:", data1)
|
||||
|
||||
# Успешный ответ
|
||||
#Успешный ответ
|
||||
HEADER1 = {"User-Agent": "Mozilla/5.0", "Content-Type": "application/json"}
|
||||
try:
|
||||
response = requests.post("http://192.168.1.10:8081/AppSaveSvedPac", headers=HEADER1, json=data1, timeout=5)
|
||||
|
||||
Reference in New Issue
Block a user