Registration Error Username & Email should be unique
Developing
POST
http://localhost:3000/graphql
{
"register": {
"username": "dev",
"email": "dev@po.com",
"role": "admin",
"password": "Pass@123",
"phone": "9657970148",
"sex": "male",
"age": 20
}
}
Request
Header Params
Authorization
string
optional
Default:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA
Request samples
Responses
Modified at 2024-09-24 12:24:16