title: is there any solution to call this service for dropdown list in angular 10?
body: <pre class="lang-js prettyprint-override"><code>getDealersList(data){
    //return this.http.get&lt;Dealers&gt;(`${environment.apiUrl+'dealership/get'}`,data,this.httpOption());
    return this.http.post(this.apiUrl+ 'dealerships/get',data,this.httpOption());
  }
  </code></pre>
  <p>How to call this service in typescript file to make a dropdown list please help me out with this. I need a API call or service call for this.</p>