adding mobile number check
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 43s

This commit is contained in:
vickytechkey 2026-09-23 21:31:08 +05:30
parent b7dac2f02d
commit db015ef756

14
check_registered.py Normal file
View file

@ -0,0 +1,14 @@
import requests
phone = "9876543210"
payload = {
"username": "artisan_543210",
"email": "test@test.com",
"phone": phone,
"password": "Password123!",
"confirm_password": "Password123!"
}
res = requests.post("http://localhost:8000/api/auth/register/", json=payload)
print("Register 9876543210:", res.status_code, res.text)