AI_BTC / app.py
Dooratre's picture
Update app.py
6f3cdc4 verified
raw
history blame
424 Bytes
import requests
import urllib3
api_url = "https://ai-app-ly.infinityfreeapp.com"
# 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)