DmitrMakeev commited on
Commit
cf7d6ab
·
verified ·
1 Parent(s): 46468e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,8 +135,8 @@ def send_additional_request1(email, name, phone, pr1, pr2, pr3, pr4, pr5):
135
  }
136
 
137
  headers = {
138
- 'Authorization': f'Bearer {token2}',
139
- 'Content-Type': 'application/json'
140
  }
141
 
142
  response = requests.post('https://online.bizon365.ru/api/v1/webinars/subpages/addSubscriber', json=data, headers=headers)
 
135
  }
136
 
137
  headers = {
138
+ 'X-Token': token2 # Добавляем заголовок X-Token,
139
+
140
  }
141
 
142
  response = requests.post('https://online.bizon365.ru/api/v1/webinars/subpages/addSubscriber', json=data, headers=headers)