<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/soap/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];unset($params);$params = array ( "data" => array ( "ssid" => $token, "tld" => "com", ));$response = $client->__call("Prices",$params);?> INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [tld] => �com ) OUTPUT: [status] => ok [data] => Array ( [register] => 9.56 [renew] => 9.56 [restore] => 60 [transfer] => 9.56 )
<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/soap/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];unset($params);$params = array ( "data" => array ( "ssid" => $token, "tld" => "com", ));$response = $client->__call("Prices",$params);?>