title: Max CDN purge through API
body: <p>I am trying to purge a file through the MaxCDN API but it's not working. Here's the code I'm using. The <code>print_r</code> doesn't return any result.</p>
  
  <pre><code>function purge() {
      date_default_timezone_set('America/Los_Angeles');
      $date = date('c');
      $apiid = 'myapiid';
      $apikey = 'myapi';
      $auth_key = hash('sha256', $date.':'.$apikey.':purge');
      $url = 'http://softsailor.alexdumitru.netdna-cdn.com/wp-content/themes/ss3/includes/sprite.jpg';
      if (!class_exists('IXR_Client')) {
          require_once (ABSPATH . WPINC . '/class-IXR.php');
      }
      $client = new IXR_Client('api.netdna.com','/xmlrpc/cache',80);
      $client-&gt;timeout = 30;
      $client-&gt;query('cache.purge', $apiid, $auth_string, $date, $url);
      print_r($client-&gt;getResponse());
  }
  </code></pre>
  
  <p>I turned debug on and I'm getting the following error
      Something went wrong - -32300 : transport error - HTTP status code was not 200</p>