Signup API Documentation - bounswe/bounswe2022group5 GitHub Wiki
Sign Up
Signup user with credentials that are needed to create a user.
URL : /auth/register/
Method : POST
Auth required : NO
Permissions required : None
Success Response
Code : 200 OK
Body
User Types:
{
"ADMIN": 0
"DOCTOR": 1,
"MEMBER": 2,
}
For User:
{
"email": [email protected],
"password": joedoepassword,
"type": 2,
}
Notes
- Initially, the default signup endpoint handles the fields of the Abstract Base User class.