forked from allenporter/supernote
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix initial user flow #5
Copy link
Copy link
Open
Description
Currently have to exec into the container and target the register endpoint directly
docker exec -it supernote python3 -c "
import hashlib, urllib.request, json
pw = hashlib.md5(b'yourpassword').hexdigest()
data = json.dumps({'email':'you@example.com','password':pw,'userName':'YourName'}).encode()
req = urllib.request.Request('http://localhost:8000/api/user/register', data=data, headers={'Content-Type':'application/json'})
print(urllib.request.urlopen(req).read())
"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels