DeMaking commited on
Commit
f13638c
·
verified ·
1 Parent(s): 197202f

Create test_connection.py

Browse files
Files changed (1) hide show
  1. test_connection.py +7 -0
test_connection.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import requests
2
+
3
+ try:
4
+ response = requests.get("https://api.telegram.org")
5
+ print(f"Status Code: {response.status_code}")
6
+ except Exception as e:
7
+ print(f"Error: {e}")