/add_term.php POST
This endpoint will add a new term
Request
Parameter | Type | Description |
---|---|---|
term_name | string |
name of the term to be added. |
stud_id | number |
this is the id of the user. |
pass | string |
this is the user's password. |
Response Success
{ "code":202, "response":"success" }
Response Auth Error
{ "code":351, "msg":"User is unauthorized" }
Response Param Error
{ "code":-9999, "response":"Parameter Error" }