Working with Intercom API from localhost

I’m trying to use the api from localhost, but i got an error:
Access to XMLHttpRequest at '' from origin '[http://localhost:4200](http://localhost:4200/)' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

The call is working on postman.

This is my code:
const reqHeader = new HttpHeaders({
‘Content-Type’: ‘application/json’,
‘Access-Control-Allow-Origin’: ‘*’,
‘Authorization’: ‘Bearer xxxxxxxxxxxxxxxx’
var reqParams = new HttpParams().set(“company_id”, xxxxx);

var url = "";
this.http.get(url,{ headers: reqHeader,params: reqParams})
  data => console.log('success', data),
  error => console.log('oops', error)

Any help?