User registration. and password verification: at least 8 characters, including uppercase and lowercase letters, numbers and symbols
Request
Body Params application/json
{
"firstname": "aaaa",
"lastname":"bbbbb",
"email":"iam594@126.com",
"password":"Comp5347!"
}
Request samples
curl --location --request POST 'localhost:5001/api/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstname": "aaaa",
"lastname":"bbbbb",
"email":"iam594@126.com",
"password":"Comp5347!"
}'
Responses
application/json {
"_id": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"token": "string"
}
Modified at 2023-05-16 16:06:00