Production : /api/v1
Staging : /api/v1
Key | Value |
---|---|
Content-Type | application/json |
Cookie | name=root;sig=dd81ea033c2d11e6a95d0242ac11000c |
X-Forwarded-For |
{"user_id": 14, "admin": "no"}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"user role update sccuessful, affect row: 1"}
Key | Value |
---|---|
Content-Type | application/json |
Cookie | name=root;sig=dd81ea033c2d11e6a95d0242ac11000c |
X-Forwarded-For |
{"user_id": 14, "admin": "yes"}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"user role update sccuessful, affect row: 1"}
Key | Value |
---|---|
Content-Type | application/json |
Cookie | name=root;sig=dd81ea033c2d11e6a95d0242ac11000c |
X-Forwarded-For |
{"user_id": 14, "password": "myhung"}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"password updated!"}
Key | Value |
---|---|
Content-Type | application/json |
Cookie | name=root;sig=dd81ea033c2d11e6a95d0242ac11000c |
X-Forwarded-For |
{"user_id": 31}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"user 31 has been delete, affect row: 1"}