Example #1
0
 function testNET_REST_RESTServer()
 {
     $RESTServer = new RESTServer();
     $RESTServer->AddClass("UploadManager", array());
     //$RESTServer->Handle("method=BuildDir&path=/home/demohost&seed=234234&depth=10", "UploadManager");
 }
Example #2
0
<?php

// Requires database files
require '../connect.php';
require '../RESTServer.php';
// Imports WS classes
require 'users/Users.php';
$server = new RESTServer('debug');
$server->addClass('Users');
$server->handle();