title: Add subscrber to mailchimp API v3
body: <p>I write this function:</p>
  
  <pre><code>public function mailchimp() {
  
  $email = 'testing123@test.com';
  $first_name = 'Test';
  $last_name = 'Test';
  
  $api_key = 'dfrgergredgdfgdfgdfgdfg-us9'; // YOUR API KEY
  
  // server name followed by a dot. 
  // We use us13 because us13 is present in API KEY
  $server = 'us9.'; 
  
  $list_id = '718943'; // YOUR LIST ID
  
  $auth = base64_encode( 'user:'.$api_key );
  
  $data = array(
      'apikey'        =&gt; $api_key,
      'email_address' =&gt; $email,
      'status'        =&gt; 'subscribed',
      'merge_fields'  =&gt; array(
          'FNAME' =&gt; $first_name,
          'LNAME'    =&gt; $last_name
          )    
      );
  $json_data = json_encode($data);
  
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, 'https://'.$server.'api.mailchimp.com/3.0/lists/'.$list_id.'/members/');
  curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json',
      'Authorization: Basic '.$auth));
  curl_setopt($ch, CURLOPT_USERAGENT, 'PHP-MCAPI/2.0');
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_TIMEOUT, 10);
  curl_setopt($ch, CURLOPT_POST, true);    
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
  
  $result = curl_exec($ch);
  
  $result_obj = json_decode($result);
  
  // printing the result obtained    
  echo $result_obj-&gt;status;
  echo '&lt;br&gt;';
  echo '&lt;pre&gt;'; print_r($result_obj); echo '&lt;/pre&gt;';
  
      }
  </code></pre>
  
  <p>but I got this result (404 error) and I dont know what to do and where I'm wrong:</p>
  
  <pre><code>404
  stdClass Object
  (
      [type] =&gt; http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
      [title] =&gt; Resource Not Found
      [status] =&gt; 404
      [detail] =&gt; The requested resource could not be found.
      [instance] =&gt; 637c9154-9999-48d2-952f-e994b737a9b7
  )
  </code></pre>
  
  <p>What is the problem here? Why I get 404 error? I don't see the error in my code anywhere. How I can solve this issue?</p>
  
  <p>I use Laravel 5.1
  Sorry for my English!</p>