Skip to content

Instantly share code, notes, and snippets.

@BedrosovaYulia
Created August 12, 2021 17:20
Show Gist options
  • Save BedrosovaYulia/0aa8800b704f7849eb21c3b0c2036d94 to your computer and use it in GitHub Desktop.
Save BedrosovaYulia/0aa8800b704f7849eb21c3b0c2036d94 to your computer and use it in GitHub Desktop.
<?
class TestRestProvider
{
public static function OnRestServiceBuildDescription()
{
return array(
'testrest' => array(
'testrest.get.constants' => array('callback' => array(__CLASS__, 'GetConstants'),'options' => array()),
)
);
}
public static function GetConstants($query, $n, \CRestServer $server)
{
$result = array();
//*******
return $result;
}
}
?>
@ndthanh
Copy link

ndthanh commented Jul 1, 2022

Thank you,

where can I put this code and how is it related to the inbound web hook in Citrix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment