Blame view

php/rest/getParameterList.php 441 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
24
<?php
  
/** 
*   @file getParameterList.php 
*   @brief  REST interface for service getParameterList
*
*   
*   @version $Id:  $ 
*/

  require_once '../config.php';

  $amda_ws = new WebServer();
  $result = $amda_ws->getParameterList($_GET);

    if ($result['ParameterList']){
      foreach($result['ParameterList'] as $key => $value) {
	echo "<$key>$value</$key><br/>";
      }
    }
    else {
     echo $result['message'];  
    }
?>