Skip to content

Commit b31579a

Browse files
authored
Create main.py
0 parents  commit b31579a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

main.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# poll_api.py
2+
3+
import requests
4+
5+
# Your API URL
6+
url = "https://deb-auth-api.onrender.com/users"
7+
8+
9+
10+
try:
11+
response = requests.get(url, timeout=600)
12+
print(f"Status: {response.status_code}")
13+
print(f"Response: {response.text}")
14+
except Exception as e:
15+
print(f"Error: {e}")

0 commit comments

Comments
 (0)