telegrambot / app.py
Dooratre's picture
Update app.py
9884211 verified
raw
history blame contribute delete
433 Bytes
import requests
import urllib3
api_url = "https://ai-app-ly.infinityfreeapp.com/tele.php"
# Disable SSL certificate verification
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
data = {
"register": True,
"username": "rth",
"password": "gkfgfgh"
}
response = requests.post(api_url, data=data, verify=False)
json_data = response.json()
message = json_data['message']
print(message)