GetAPI response in Postman but not in Ionic app browser view

THIS IS MY TS CODE :
import { Component } from ‘@angular/core’;
import { NavController } from ‘@ionic/angular’;
import { HttpClient } from ‘@angular/common/http’;
import { Observable } from ‘rxjs’;

@Component({
selector: ‘app-home’,
templateUrl: ‘home.page.html’,
styleUrls: [‘home.page.scss’],
})
export class HomePage {
public items: any;
constructor(public navctrl: NavController, public http: HttpClient) {
this. loadData();
}
loadData(){
let data: Observable;
data = this.http.get(‘https://jsonplaceholder.typicode.com/posts’);
data.subscribe(result => {

        this.items = result;
    })
}

    itemClick(itemid: number){

        alert(itemid);
    }

}

THIS IS MY HTML CODE:



Ionic Blank


<ion-list *ngFor=“let item of items”>

   <ion-item>

       {{item.Id}}
       {{item.title}}
       
   </ion-item>
![2|690x367](upload://oxkez56MPLjchRCv7KMlBlhTzty.png)

Hi @ApproTechnologies :wave:

Does this API support CORS? If it doesn’t, your requests may have been blocked by the browser.

More info in the docs: https://ionicframework.com/docs/faq/cors

Best,
Rodrigo