Backend Service

This commit is contained in:
2019-03-09 23:59:29 +00:00
parent ebb72d4d1d
commit 5b531a7b7b
4 changed files with 5 additions and 9 deletions
-3
View File
@@ -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();