adding validated services? patching forcad_local.py

This commit is contained in:
Your Name
2026-08-13 08:32:35 +07:00
parent d485f61169
commit e795614e45
1459 changed files with 420036 additions and 436 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env python3
import sys
import requests
ip = sys.argv[1]
hint = sys.argv[2]
url = f"http://{ip}:1337/get_note"
r = requests.post(url, json={
"name": hint,
})
print(r.json()["note"], flush=True)