Files
geodb/geoapi/service/pss/index.php
2013-06-27 10:55:07 +02:00

17 lines
297 B
PHP

<?php
include_once "../../global.inc.php";
require_once PATH_API . "/PssApi.php";
// instance a new api
$app = new \api\PssApi();
// HTTP-Get-Method
$app->get(\api\PssApi::$routeParameterPids, function ($pid) use ($app) {
echo $app->sendPssQuery($pid);
});
$app->run();
?>