title: How can I pass a list of strings within a request?
body: <p>I'm using Refit library for my app and I need to make a call to another service. I need to get all entities with ids that I'm passing.</p>
  
  <p>I tried [Body] attribute and it still doesn't work. I manage to pass a request but the list if ids that another service gets is null while I'm definitely passing existing IEnumerable.</p>
  
  <p>My IRefitProxy:</p>
  
  <pre><code>[Get("/students/allByIds")]
  Task&lt;IEnumerable&lt;Student&gt;&gt; GetStudentsById(IEnumerable&lt;string&gt; ids);
  </code></pre>
  
  <p>Another service's API:</p>
  
  <pre><code>[RoutePrefix("api/students")]
  [Route("allByIds")]
  [HttpGet]
  public IEnumerable&lt;Student&gt; AllByIds(IEnumerable&lt;string&gt; ids)
  {
  //ids here is null!
  
  //call my repository blablabla
  return students;
  }
  </code></pre>
  
  <p>I pass an array/List of strings and it comes as null. The path is ok because I manage to fall into the method with breakpoint. How can I manage to pass it correctly?</p>