POST
/api/v1/users
curl \
-X POST http://127.0.0.1:3000//api/v1/users \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"user":{"name":"string","email":"michael@gmail.com","username":"michael","password":"password","password_confirmation":"password"}}'
Request example
{
"user": {
"name": "string",
"email": "michael@gmail.com",
"username": "michael",
"password": "password",
"password_confirmation": "password"
}
}