Unauthenticate Endpoints - ShengHuaWu/cv-soar GitHub Wiki
method: POST
path: /users/signup
parameters:
last_name: String
first_name: String
email: String
password: String
- All of them are required.
parameters example:
{
"last_name": "Wu",
"first_name": "ShengHua",
"email": "[email protected]",
"password": "my_password"
}
success response example:
{
"user": {
"id": 1,
"last_name": "Wu",
"first_name": "ShengHua",
"email": "[email protected]",
"avatar": "",
"token": "tgb456rfv829"
}
}
method: POST
path: /users/login
parameters:
email: String
password: String
- All of them are required.
parameters example:
{
"email": "[email protected]",
"password": "my_password"
}
success response example:
{
"user": {
"id": 1,
"last_name": "Wu",
"first_name": "ShengHua",
"email": "[email protected]",
"avatar": "",
"token": "tgb456rfv829"
}
}