File size: 380 Bytes
af1d8cd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import requests
try:
response = requests.post(
"http://localhost:8000/auth/register",
json={
"email": "test@example.com",
"password": "password123",
"full_name": "Test User"
}
)
print(f"Status: {response.status_code}")
print(f"Response: {response.text}")
except Exception as e:
print(f"Error: {e}")
|