Backend Service
This commit is contained in:
@@ -5,7 +5,6 @@ THIS IS THE USER ENTRY POINT API
|
||||
require '../../backend.php';
|
||||
require '../backend_defines.php';
|
||||
//var_dump($mermsemr->cfgReadChar("database.host"));
|
||||
//phpinfo();
|
||||
|
||||
$endpoints = array(
|
||||
'createuser' => array('POST'),
|
||||
@@ -139,10 +138,8 @@ switch ( $in["action"] ) {
|
||||
// calling the backend
|
||||
$out["internal_return"]= $mermsemr->mermsemr_api($in,$out);
|
||||
|
||||
|
||||
header("HTTP/1.1 200 OK");
|
||||
header("Status: 200 OK");
|
||||
//$out = array_merge($in, $out); // DEBUG
|
||||
echo json_encode(processOutJson($in, $out));
|
||||
exit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user