title: Send array in http Post request Android
body: <p>I want to send string array data via post request to server from android. request parameters should be like this string array e.g. </p>
  
  <p>["56e7e4ade","56e7e435ade"]</p>
  
  <p>I am sending with this</p>
  
  <pre><code>for(int i=0; i&lt;connectedpeople.size(); i++)
      {
        nameValuePairs.add(new BasicNameValuePair("myarray[]", connectedpeople.get(i).getObjectId()));
      }
  </code></pre>
  
  <p>But that doesnt work. can anybody give suggetion to this?</p>