Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def send_request(email, phone, name, pr5, pr4, pr3, pr2, pr1):
|
|
77 |
headers = {
|
78 |
'Content-Type': 'application/json',
|
79 |
}
|
80 |
-
response = requests.post(f"{base_url}
|
81 |
return response.json()
|
82 |
|
83 |
@app.route('/incoming', methods=['POST'])
|
|
|
77 |
headers = {
|
78 |
'Content-Type': 'application/json',
|
79 |
}
|
80 |
+
response = requests.post(f"{base_url}", json=data, headers=headers)
|
81 |
return response.json()
|
82 |
|
83 |
@app.route('/incoming', methods=['POST'])
|