Ejemplo de httpheaders angular

let headers = new HttpHeaders({ 'Access-Control-Allow-Origin': '*','content-type': 'application/json'}  )
console.log(headers)
harikr2006