I trying to get data using web api in angular7 but i'm facing [object object] issue.
auth.service.ts
getCareer(){
return this._HttpClient.get('http://localhost:49345/api/website/getCarrier');
}
component.ts
export class careerComponent implements OnInit{
getCareer$: object;
constructor(private _AuthService: AuthService){ }
ngOnInit(){
this._AuthService.getCareer().subscribe(
data => this.getCareer$ = data
);
}
}
component.html
<div class="col-xl-6" *ngFor="let career of getCareer$">
<h2>test</h2>
<h3>{{career.designation}}</h3>
</div>
Issue/console screenshot
API Screenshot
How can i solve it?

