Skip to content

Fix initial user flow #5

Description

@ddulic

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':'[email protected]','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())
  "

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions