title: ArrayList sent to server: Data retrieval
body: <p>In my android application I have an <code>ArrayList</code> which is: <code>[1, 2, 8]</code></p>
  
  <p>I am sending this array list in a job to the backed <code>django</code> view, where I need to process it further.</p>
  
  <p>So I am calling the <code>toString()</code> method  to convert it to a string and then send it to the server.</p>
  
  <p>Inside the view on getting the parameter from the request and on trying to print what I have received I get: <code>[1, 2, 8]</code>.</p>
  
  <p>But on trying to get the 1st element, basically calling <code>varialble[0]</code> I am getting: <code>[</code> and on calling <code>variable[1]</code> I am getting <code>1</code>.</p>
  
  <p>I just want to extract all the numbers from the variable and use them for further processing. Where am I going wrong?</p>