Auth
SignUp Feature
Changed onSigns Up New User to the Platform as a Therapist
post/auth/signup
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/auth/signup
- Auth: none declared
Request body
Example request
{
"email": "dr.doolittle@zoolittle.com",
"password": "IlikeMYanimalsLITTLE@34",
"first_name": "John",
"last_name": "Dolittle"
}Response
User/Therapist created successfully!
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": "f20e5948-01ba-4113-b453-db05d8bde3bc"
}
}Changes
- ○
added the required property
to the response with the status
- ○
- ○
the response property
became required for the status - ○
the response property
became required for the status
- ○