Aksela Disallow Cache Path Silme

Bu API ile Aksela’da önbelleğe alınmayan sayfaları silebilirsiniz.

Parametreler

Değişken Tipleri

Örnek PHP Kodu

<?php
$curl_post_data = array('user_key' => 'Your User Key','user_secret' =>'Your User Secret','zone_id' => zoneid,'disallow_cache_paths' => 'Your Path');
$request_body = json_encode($curl_post_data);
$service_url = 'https://api.medianova.com/v1/zone/aksela/disallow_cache_path_add';
$ch = curl_init($service_url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json','Content-Length: ' . strlen($request_body)));$response = curl_exec($ch);
var_dump($response);?>

Örnek Çıktı

{
"status": true,"data": 
[        
"/yourPaths"    
],
"opid": "576UWnEydPJfXAYB"
}