title: how to post mulitple data through json posting?
body: <pre><code>var post = { "ID":1 };
  
  var step = [1,2,3,4,5];
  
  post.step = step;
  
  console.log(post)
  
  $.ajax({
      url:'rss/test',
      type:'POST',
      data:post
  })
  </code></pre>
  
  <p>-</p>
  
  <pre><code> public JsonResult Test(int ID, IEnumerable&lt;string&gt; step)
   {
       return Json(true);
   }
  </code></pre>
  
  <p>I want to post it through JSON, how can I do this? When I tried to do this I found that this did not work. The step are not worked (or post)</p>
  
  <p><strong>update:</strong> after setting it to </p>
  
  <pre><code>var post  = {
  "ID":1,
  step:[{'Name':'first'},{'Name':'second'}]
  }
  
  $.post("/rss/test",post,function(){
  });
  
  public JsonResult Test(int ID, IEnumerable&lt;string&gt; step)
          {
              return Json(true);
          }
  </code></pre>
  
  <p>i feel it's work but i got result </p>
  
  <pre><code>step
  Count = 2
      [0]: null
      [1]: null
  </code></pre>
  
  <p>in immediate window.</p>
  
  <p>so i hope i am go in right direction but both thing are null. now someone can help me to get them work. </p>
  
  <p>thanks</p>