Blame view

php/rest/getTimeTable.php 346 Bytes
16035364   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
  
/** 
*   @file getTimeTable.php
*   @brief  REST interface for service getTimeTable
*
*   
*   @version $Id:  $ 
*/

 require_once '../config.php';

  $amda_ws = new WebServer();

  $result = $amda_ws->getTimeTable($_GET);

 if ($result['success']){
	echo $result['ttFileURL'];
   }
    else {
     echo $result['message'];  
    }
?>