add seiralmanager #66

This commit is contained in:
stubbfel
2013-07-01 17:47:45 +02:00
parent 802b561187
commit aa03fdcd1b
10 changed files with 83 additions and 23 deletions

View File

@@ -3,8 +3,9 @@
include_once "../../global.inc.php";
require_once PATH_API . "/PisApi.php";
$headers = apache_request_headers();
// instance a new api
$app = new \api\PisApi();
$app = new \api\PisApi($headers);
// HTTP-Get-Method
$app->get(\api\PisApi::$routeParameterPids, function ($pid) use ($app) {