title: How to pass data containing special characters through curl
body: <h2>I cannot able to post data its contain the special characters through curl ,Any solution ?</h2>
  
  <p>first code is my curl function ,second code is my data need to pass
      
  
  <pre><code>$communication_data_string = 'token='.json_encode(array(
      "activityTypeId"=&gt;12,
      "activityId"=&gt;5,
      "userID"=&gt; 10,
      "partyID"=&gt;20,
      "message_area_name"=&gt;("this is my test data with special cheractors&amp;&amp;!@##$%$%%*)++")
      )
  ); 
  
  echo(datPostingCURL($url, $communication_data_string));
  </code></pre>
  
  <p>?></p>
  
  <p>this seems to not returning anything if the messageData contains the special character's </p>