bsure-api / scripts /test_register.py
“mohansree14”
Deploy Bsure API with correct structure
af1d8cd
Raw History Blame Contribute Delete
380 Bytes
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}")