Loading include/rest-web-service.php +3 −2 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ Flight::route('POST ' . $WS_PREFIX . '/user', function() { }); /** * Perform a join. * Performs a join. */ Flight::route('POST ' . $WS_PREFIX . '/join', function() { Loading @@ -111,7 +111,8 @@ Flight::route('POST ' . $WS_PREFIX . '/join', function() { $userHandler->joinUsers($postData['user1'], $postData['user2']); echo "Success"; // if the join has success, returns the remaining user id echo $postData['user1']; }); Flight::route('GET ' . $WS_PREFIX . '/test', function() { Loading Loading
include/rest-web-service.php +3 −2 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ Flight::route('POST ' . $WS_PREFIX . '/user', function() { }); /** * Perform a join. * Performs a join. */ Flight::route('POST ' . $WS_PREFIX . '/join', function() { Loading @@ -111,7 +111,8 @@ Flight::route('POST ' . $WS_PREFIX . '/join', function() { $userHandler->joinUsers($postData['user1'], $postData['user2']); echo "Success"; // if the join has success, returns the remaining user id echo $postData['user1']; }); Flight::route('GET ' . $WS_PREFIX . '/test', function() { Loading