Commit 62032437 authored by Luc Dehand's avatar Luc Dehand

delet sample-index (move on samples directory)

parent 76961859
<?php
require_once dirname(__FILE__) ."/../includes/common.php";
$app_name = 'test web service';
try {
$re = new RESTHttpRequest();
$root = new DefaultRootResource($re);
$fc = new RESTC($re, $root, $app_name);
$fc->dispatch();
} catch (RESTException $e) {
$e->sendError();
} catch (Exception $e) {
$ne = new RESTException($e->getMessage(), 500);
$ne->sendError();
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment