API Codigo de Ejemplo in PHP

<? php $data = Array (
    €œaction€ => €œRegisterDomain€,
    €œthey token€             => €œAaLc8eNZWsZtWlT9LtT7NUha€,
    €œauthemail€         => €œ[email protected]€,
    €œsld€ => €œNOMBREDEDOMINIO€,
    €œtld€ => €œuy€,
    €œregperiod€ => 1,
    €œnameserver1€       => €œns1.phpbuddies.com€,
    €œnameserver2€       => €œns2.phpbuddies.com€,
    €œnameserver3€       => €œweb1.phpbuddies.com€,
    €œnameserver4€       => €œweb2.phpbuddies.com€,
    €œnameserver5€       => €œns1-pando.phpbuddies.com€,
    €œfirstname€         => €œNAME€,
    €œlastname€          => €œLAST NAME€,
    €œcompanyname€ => €œTRADE NAME€,
    €œaddress1€          => €œDIRECTION€,
    €œCity€ => €œCITY€,
    €œstate€             => €œDEPARTMENT€,
    €œcountry€           => €œCOUNTRY€,
    €œpostcode€          => €œ11100€,
    €œto phonenumber€ => €œ59829010489€,
    €œemail€             => €œ[email protected]€,
    €œadminfirstname€ => €œNAME€,
    €œadminlastname€ => €œLAST NAME€,
    €œadmincompanyname€ => €œTRADE NAME€,
    €œadminaddress1€ => €œColony 1086/902€,
    €œadmincity€ => €œMontevideo€,
    €œadminstate€ => €œMontevideo€,
    €œadmincountry€ => €œUY€,
    €œadminpostcode€ => €œ11100€,
    €œto adminphonenumber€ => €œ59829010489€,
    €œadminemail€ => €œ[email protected]€,
    €œdomainfields€      => base64_encode (serialize (array_values (Array ()))));
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL, €œhttps://www.phpbuddies.com/clientes/domainsResellerAPI/api.php€);
curl_setopt ($ch, CURLOPT_TIMEOUT, 30);
curl_setopt ($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query ($data));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt ($ch, CURLOPT_HEADER, false);
curl_setopt ($ch, CURLOPT_SSLVERSION, 3);
curl_setopt ($ch, CURLOPT_SSL_CIPHER_LIST, €˜SSLv3€™);
$result = curl_exec ($ch);
$res    = json_decode ($result, true);
print_r ($res);
curl_close ($ch);? >
  • 0 the Users Have found This Useful one
Was useful the answer?

Related Articles

API Introducción

API IntroducciónLa API for remarketers of domains .UY of our company, allows him€¦

API Acciones

RegisterDomain: This commando is used to send a commando of registry of domain .UY to ours€¦

Information of the program

PhpBuddies.com as recording agent credited EPP of UYNIC - SECIU - UDELAR,€¦