/register.php POST Update
This endpoint will update profile details of the user.
Request
| Parameter | Type | Description |
|---|---|---|
| username | string |
this is the username of the user |
| name | string |
Full name of the user |
string |
The email id of the user | |
| stud_id | number |
The user id of the user |
Response Auth Error
{
"code":351,
"msg":"User is unauthorized"
}
Response Param Error
{
"code":-9999,
"msg":"Parameter Error"
}
Response Success
{
"code":202,
"msg":"Successfully Updated"
}
Response Username exists
{
"code":263,
"msg":"Username exists"
}
Response Email ID exists
{
"code":261,
"msg":"Email ID exists"
}