The following paragraphs will offer a step-by-step guide on how to replace the deprecated TerraBaseService as well as angular's http package (@angular/http) with the functionality mostly provided by angular’s HttpClient (@angular/common/http).
In addition to this document, we highly recommend to read angular's complete guide on the usage of the HttpClient.
private readonly url:string = '/rest/webstores';
constructor(private http:HttpClient) {}
this.http.get< PluginSetInterface>(this.url + '/' + webstoreId + '/plugin_set')
For more specific use cases or advanced usages, either see the advanced usage section of angular’s official guide covering the HttpClient or get in touch with one of the members of the terra team.