Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ with app_tab:
|
|
| 112 |
|
| 113 |
# --- Send data to external API ---
|
| 114 |
url = "https://skattendancesystem25.glitch.me/adds"
|
| 115 |
-
data = {'rno': 15, 'sname':
|
| 116 |
try:
|
| 117 |
response = requests.post(url, data=data)
|
| 118 |
if response.status_code == 200:
|
|
|
|
| 112 |
|
| 113 |
# --- Send data to external API ---
|
| 114 |
url = "https://skattendancesystem25.glitch.me/adds"
|
| 115 |
+
data = {'rno': 15, 'sname': pname, 'sclass': 7}
|
| 116 |
try:
|
| 117 |
response = requests.post(url, data=data)
|
| 118 |
if response.status_code == 200:
|