Первая версия

This commit is contained in:
2026-06-11 13:18:22 +03:00
parent bd5c21316a
commit 84bc515817
3 changed files with 761 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import requests
url = "http://127.0.0.1:8000/create_account" # Replace with actual endpoint URL
payload = {
'token': 'test',
'username': 'test',
'password': 'test',
'drive_quota': '1024' # in MB
}
headers = {
'Content-Type': 'application/x-www-form-urlencoded'
}
response = requests.post(url, data=payload, headers=headers)
print("Status Code:", response.status_code)
print("Response Text:", response.text)