title: How to pass a number array within a query string in HttpClient?
body: <p>This is my array</p>
  <pre><code>[1,2,4,7]
  </code></pre>
  <p>How to pass this array within a query string in HttpClient without converting to a string?</p>
  <p>I tried to use:</p>
  <pre><code>let page_id = [1,2,4,7];
  let params = new HttpParams();
  params = Params.append('pages[]', page_id);
  this.http.get(url, { params: Params });
  </code></pre>
  <p>But it returns the output like this</p>
  <pre><code>pages:['1,2,4,7']
  </code></pre>
  <p>What I want is</p>
  <pre><code>pages:[1,2,4,7]
  </code></pre>