Backend Service
This commit is contained in:
@@ -11,7 +11,8 @@ $endpoints = array(
|
||||
'createuser' => array('POST'),
|
||||
'login' => array('POST'),
|
||||
'userlogin' => array('POST'),
|
||||
'getprofile' => array('POST')
|
||||
'getprofile' => array('POST'),
|
||||
'userstask' => array('POST')
|
||||
);
|
||||
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
@@ -60,8 +61,12 @@ switch ($endpoint) {
|
||||
break;
|
||||
case 'createuser':
|
||||
$in["action"] = MERMS_USER_CREATEACCOUNT;
|
||||
$in["action_recieved"] = MERMS_USER_CREATEACCOUNT;
|
||||
//$in["action_recieved"] = MERMS_USER_CREATEACCOUNT;
|
||||
break;
|
||||
|
||||
case 'userstask':
|
||||
$in["action"] = MERMS_USER_REMINDERS;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user