Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ with app_tab:
|
|
89 |
|
90 |
# Send attendance via POST
|
91 |
url = "https://nielit-attendance.glitch.me/adds"
|
92 |
-
data = {'rno':
|
93 |
try:
|
94 |
response = requests.post(url, data=data)
|
95 |
if response.status_code == 200:
|
|
|
89 |
|
90 |
# Send attendance via POST
|
91 |
url = "https://nielit-attendance.glitch.me/adds"
|
92 |
+
data = {'rno': 15, 'sname': matched_name, 'sclass': 7}
|
93 |
try:
|
94 |
response = requests.post(url, data=data)
|
95 |
if response.status_code == 200:
|