I have this method inside service code.
list.service.ts
public getList(id: string): Observable { const url = this.config.getUrl + \'/