title: sending an array of data through postman to node
body: <p>Ok I want to send an array of data and fetch it based on its index. </p>
  
  <pre><code>rate = [10,20,30,40,50,60,70,80,90,100,110,120,200];
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/SxZRe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SxZRe.png" alt="enter image description here"></a></p>
  
  <p>when I try</p>
  
  <pre><code>console.log(req.body.rate); // output : [10,20,30,40,50,60,70,80,90,100,110,120,200]
  console.log(req.body.rate[2]) // gives 0 
   // Also tried
  var array = [];
  array = req.body.rate;
  console.log(array[2]) // same as above
  </code></pre>
  
  <p>I know I can loop and push etc. But I don't want to loop.
  Can anyone help me where I am gooing wrong.</p>