title: unable to execute an url through curl
body: <p>I am unable to execute an URL through curl. But if simply run the query thrugh browser, its working fine. My code is like:</p>
  
  <pre><code>$xmlData = "&lt;Leads&gt;&lt;row no='1'&gt;&lt;FL val='First Name'&gt;".$new_fname."&lt;/FL&gt;&lt;FL val='Last Name'&gt;".$new_lname."&lt;/FL&gt;&lt;FL val='Email'&gt;".$new_email."&lt;/FL&gt;&lt;FL val='Phone'&gt;".$new_ph_no."&lt;/FL&gt;&lt;/row&gt;&lt;/Leads&gt;";
  $xmlData = htmlentities($xmlData);
  $ch = curl_init("https://crm.zoho.com/crm/private/xml/Leads/insertRecords?newFormat=1&amp;authtoken=XXX&amp;scope=crmapi&amp;xmlData=".$xmlData);
  curl_setopt($ch, CURLOPT_VERBOSE, 1);//standard i/o streams 
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);// Turn off the server and peer verification 
  curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'rsa_rc4_128_sha'); //for godaddy server patch
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); 
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);//Set to return data to string ($response) 
  curl_setopt($ch, CURLOPT_POST, 1);//Regular post 
  $response = curl_exec($ch); 
  curl_close($ch);
  </code></pre>
  
  <p>could you please let me know where is the issue?
  Thanks in advance.</p>