Example #1
0
<?php

// Autoload the classes
require_once '../vendor/autoload.php';
// You can also add it manually
//require_once '../library/Request.php';
//require_once '../library/Proxy.php';
//require_once '../library/Client.php';
use HANATAP\Client;
$proxy = new Client(array('username' => '', 'accountname' => '', 'password' => '', 'host' => '', 'namespace' => '', 'proxy' => '', 'params' => '$metadata'));
// Set the header to dislay the content correctly
header('Content-Type: ' . $proxy->getContentType());
echo $proxy->getContents();