title: Send data using curl
body: <p>Trying to send data to a server which accepts data in the following format
  <code>VERIFY_DATA=MER_ID=xxx|MER_TRNX_ID=xxx| MER_TRNX_AMT=xxx</code>
  Will the following lines do?</p>
  
  <pre><code>$datatopost="VERIFY_DATA=MER_ID=xxx|MER_TRNX_ID=xxx| MER_TRNX_AMT=xxx";
  curl_setopt ($ch, CURLOPT_POSTFIELDS,$datatopost);&lt;br /&gt;
  </code></pre>
  
  <p>Any help will be appreciated,I am new with curl.</p>