This commit is contained in:
root 2026-04-13 15:30:49 +03:00
parent 7316927c07
commit db70ec00de
2 changed files with 11 additions and 0 deletions

9
code/app.py Normal file
View File

@ -0,0 +1,9 @@
import requests
url = "http://vps-sni-site.site:5000/api/random"
r = requests.get(url, verify=False)
data = r.json()
text = data[str(data["id"])]
print(f"серГЕЙ {text}")

2
code/main.sh Normal file
View File

@ -0,0 +1,2 @@
sudo apt update && sudo apt install python3-pip
pip install requests --break-system-packages