<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); $r = $Request->request('Cli.Utils.ping', ["an answer"]); print_r($r);
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); print_r($Request->request("Users.Login.login", ["*****@*****.**", "badpassword"]));
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); print_r($Request->request("Users.Registration.register", [['name' => 'robert blackwell', 'email' => "*****@*****.**", 'password' => "password"]]));
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); $r = $Request->request('Cli.Utils.ping', []); if ($r['status'] == '200') { print_r($r['result']); } else { print_r($r); }
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); print_r($Request->request("Test.Tests.triggerError", []));
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); $r = $Request->request('Test.Tests.throwException', []); print_r($r);
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); // $r = $Request->request("Users.Auth.login", ["*****@*****.**","password"]); // print_r($r); // // $userToken = $r['result']['result']['pubToken']; // $session_id = $r['result']['result']['sessionId']; // $teamToken = $r['result']['result']['activeTeamPubToken']; // print "session id $session_id \n"; // $r = $Request->request('Users.Data.read', [$session_id]); // $r = $Request->request('Web.Payload.getBasicData',["sessionid"]); $r = $Request->request('Web.Payload.getAll', ["session_id"]); print_r($r['result']);
<?php require_once __DIR__ . "/requester.php"; $Request = new \StringyRequest(); // $r = $Request->request( // "Users.Auth.login", // [ // "*****@*****.**", // "password" // ] // ); // print_r($r); // // $userToken = $r['result']['result']['pubToken']; // $session_id = $r['result']['result']['sessionId']; // $teamToken = $r['result']['result']['activeTeamPubToken']; // print "session id $session_id \n"; // $r = $Request->request('Users.Data.read', [$session_id]); $r = $Request->request('Users.Data.read', ["an answer"]); print_r($r);