/register.php POST
This will create a new user,ie Sign Up a new user
Request Test
| Parameter | Type | Description |
|---|---|---|
| username | string |
username of the new user. |
| name | string |
full name of the new user. |
string |
email id of the new user. | |
| pwd | string |
this is the new user's password. |
Response Param Error
{
"code":-9999,
"msg":"Parameter Error"
}
Response Success
{
"code":202,
"msg":"Successfully Registered",
"user":42
}
Response Email exists
{
"code":261,
"msg":"Email ID exists"
}
Response Username exists
{
"code":263,
"msg":"Username exists"
}