curl --location --request POST 'http://127.0.0.1:3000/api/v1/users' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "璩政君",
"email": "i1cuji76@21cn.com",
"password": "uGRCxZukMmVlZQj",
"role": "student",
"profile": {
"profile_name": "______.xlm",
"avatar_url": "https://avatars.githubusercontent.com/u/31070071"
}
}'{
"code": 0,
"message": "string",
"data": {
"id": 0,
"username": "string",
"role": "user",
"email": "user@example.com",
"status": "active",
"profile": {
"profile_name": "string",
"avatar_url": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"last_login": "2019-08-24T14:15:22Z"
},
"timestamp": "2019-08-24T14:15:22Z"
}