Web Integration API


Signup API

Demo link : https://cloud-cdn.co.in/signuppost.php?act=demo
Active link : https://cloud-cdn.co.in/signuppost.php?act=api


❏ Copy

<?php $data = array( 'referral' => 'referral', 'name' => 'name', 'email' => 'useremail@demo.com', 'username' => 'useuname', 'country' => 'country name', 'state' => 'state name', 'city' => 'city name', 'pin' => 'pin code', 'password' => 'password' ); $url = 'https://cloud-cdn.co.in/signuppost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Signup successful!", "referral": "referral name", "data": { "name": "name", "email": "useremail@demo.com", "username": "username", "country": "country", "state": "state", "city": "city", "pin": "873438" } }



Login API

Demo link : https://cloud-cdn.co.in/loginpost.php?act=demo
Active link : https://cloud-cdn.co.in/loginpost.php?act=api


❏ Copy

<?php $data = array( 'username' => 'username', 'password' => 'password' ); $url = 'https://cloud-cdn.co.in/loginpost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Login successful!", "referral": "referral", "data": { "name": "name", "email": "clientemail@demo.com", "username": "username", "country": "country", "state": "state", "city": "city", "pin": "496353", "loginip": "111.111.111.111", "time": "1946732896", "plan": "freeplan" } }



CDN Setup API

Demo link : https://cloud-cdn.co.in/setuppost.php?act=demo
Active link : https://cloud-cdn.co.in/setuppost.php?act=api


❏ Copy

<?php $data = array( 'username' => 'useuname', 'password' => 'password', 'domain' => 'https://yourdomain.com', 'subdomain' => 'https://subdomain.yourdomain.com' ); $url = 'https://cloud-cdn.co.in/setuppost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "CDN setup successful!", "referral": "referral", "data": { "name": "name", "email": "clientemail@demo.com", "username": "username", "country": "country", "state": "state", "city": "city", "pin": "pin", "loginip": "loginip", "time": "1927346254", "cname-subdomain": "5624a7d0475662d70b93f.yourdomain.com", "plan": "free cdn" } }



Forgot Password

Demo link : https://cloud-cdn.co.in/forgotpost.php?act=demo
Active link : https://cloud-cdn.co.in/forgotpost.php?act=api


❏ Copy

<?php $data = array( 'email' => 'demoinfo@demo.com' ); $url = 'https://cloud-cdn.co.in/forgotpost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Email sent!", "referral": "referral", "data": { "email_sent": "Email sent to demoinfo@demo.com", "email": "demoinfo@demo.com" } }



URL Purge

Demo link : https://cloud-cdn.co.in/purgepost.php?act=demo
Active link : https://cloud-cdn.co.in/purgepost.php?act=api


❏ Copy

<?php $data = array( 'api_key' => '9af4d8381781baccb0f915e554f8798d', 'email' => 'demoinfo@demo.com', 'zone_id' => '8659f2e961aee218d619e7e24a79f18e', 'url' => 'https://www.demourl.com' ); $url = 'https://cloud-cdn.co.in/purgepost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "purge successful!", "referral": "referral", "data": { "url": "https://www.demourl.com", "email": "clientemail@demo.com" } }



Get API key & Zone ID

Demo link : https://cloud-cdn.co.in/zoneidpost.php?act=demo
Active link : https://cloud-cdn.co.in/zoneidpost.php?act=api


❏ Copy

<?php $data = array( 'username' => 'username', 'password' => 'password', ); $url = 'https://cloud-cdn.co.in/zoneidpost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Login successful!", "referral": "raja", "data": { "api_key": "7596a8323b11dac25bc26e508bce50a5", "email": "youremail@demo.com", "zone_id": "803e4727f0758c9d5f029d8e0169819d" } } }



Admin Page

Demo link : https://cloud-cdn.co.in/ticketpost.php?act=demo
Active link : https://cloud-cdn.co.in/ticketpost.php?act=api


❏ Copy

<?php $data = array( 'user' => 'admin', 'username' => 'username', 'password' => 'password' ); $url = 'https://cloud-cdn.co.in/adminpost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Login successful!", "referral": "referral", "data": { "admin": "name", "admin_email": "clientemail@demo.com", "admin_username": "username", "country": "country", "state": "state", "city": "city", "pin": "496353", "loginip": "111.111.111.111", "time": "1946732896", "admin_plan": "freeplan" } }



Answer from the support/support team.

Users can submit their questions successfully and wait for an answer from the support/support team.


Demo link : https://cloud-cdn.co.in/ticketpost.php?act=demo
Active link : https://cloud-cdn.co.in/ticketpost.php?act=api


❏ Copy

<?php $data = array( 'username' => 'username', 'password' => 'password', 'title' => 'short title of question', 'question' => 'type your requirement' ); $url = 'https://cloud-cdn.co.in/ticketpost.php?act=demo'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo $response; ?>



Json Output :

                    

{ "status": "success", "message": "Login successful!", "email": "clientemail@demo.com", "data": { "title": "Setup free Cloud-CDN", "question": "How do I setup free Cloud-CDN ?", "answer": "Read Documentation - https://cloud-cdn.co.in/documentation.php", "title": "Cache Hit", "question": "Will it show a cache hit?", "answer": "A cache hit means the requested content is served directly from the Cloud CDN cache instead of reaching the origin server, making delivery faster and reducing server load. After setting up a Cloud CDN on your website, you can check the response headers, and it may show something like ‘cache hit’ depending on the CDN configuration.", "title": "Time to setup free Cloud-CDN", "question": "How many time to setup free Cloud-CDN ?", "answer": "Setting up a free Cloud-CDN account is quick and straightforward. Typically, it takes around 5 to 10 minutes to complete the setup and start using CDN services for your website." } }