/del_subject.php POST

This will delete a particular subject

Request

Parameter Type Description
sub_id number this is the id of the subject to be deleted.
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,
   "msg":"Parameter Error"
}