DmitrMakeev commited on
Commit
cd914f2
·
verified ·
1 Parent(s): 1287be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ def send_request(email, phone, name, pr5, pr4, pr3, pr2, pr1):
75
  }
76
 
77
  headers = {
78
- 'Authorization': f'Bearer {token}',
79
- 'Content-Type': 'application/json'
80
  }
81
  response = requests.post(f"{base_url}/email/lists/{list_id}/recipients", json=data, headers=headers)
82
  return response.json()
 
75
  }
76
 
77
  headers = {
78
+ 'Content-Type': 'application/json',
79
+ 'Accept': 'application/json'
80
  }
81
  response = requests.post(f"{base_url}/email/lists/{list_id}/recipients", json=data, headers=headers)
82
  return response.json()