Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,6 +64,7 @@ def send_post_request(payload):
|
|
| 64 |
: protocol_name, "content": payload}
|
| 65 |
headers = {"Content-Type": "application/json"}
|
| 66 |
|
|
|
|
| 67 |
response = requests.post(url, json=data, headers=headers)
|
| 68 |
|
| 69 |
if response.status_code != 200:
|
|
|
|
| 64 |
: protocol_name, "content": payload}
|
| 65 |
headers = {"Content-Type": "application/json"}
|
| 66 |
|
| 67 |
+
|
| 68 |
response = requests.post(url, json=data, headers=headers)
|
| 69 |
|
| 70 |
if response.status_code != 200:
|