title: Call Api with params
body: <p>I would like to make 10 calls to my api and have the result stored in a table.
  At the moment my api call is successful but I don't know how to do this 10 times.
  Each call sends different parameters to each call.</p>
  <pre><code>export class DataMlsService {
  
      ApiUrl = &quot;publication/Mls&quot;;
      params = new HttpParams();
      statusParams = 'Archive';
      typeTransacParams = 'Vente';
      baux = this.params.set('status', this.statusParams).set('typeTransac', this.typeTransacParams);
          
      
      constructor(private apiClient: ApiClientService){}
      
      getRequest():Observable&lt;any&gt;{
          return this.apiClient.get(this.ApiUrl, { params: this.baux });
      }
  
  }
  
  
  export class MlsComponent implements OnInit{
  
    constructor (private dataMlsService: DataMlsService){}
    
  
    actifSinceOneDay(){
      //Colore la graphique en jaune lorsque le composant augmente.
    }
    listProducts: [];
  
    ngOnInit(){
      this.dataMlsService.getRequest()
      .subscribe(
        data=&gt;{
            this.listProducts = data;
            console.log(data);
            console.log(this.listProducts.length);
        }
      )
    }
  }
  </code></pre>