generated from justuser-31/mrl_v1_license
Первая версия
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user