false, 'message' => "E01\nAuthentication is required for this webservice."); } if ($amda_ws->getNewToken()['token'] != $_GET["token"]) { return array('success' => false, 'message' => "E02\nToken expired. Please authenticate again."); } $result = $amda_ws->getParameter($_GET); if ($result['success']) { echo $result['dataFileURLs']; } else { echo $result['message']; } ?>