Every line of '@angular/common/http' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
10 public static getDefaultHttpHeaders() { 11 const headers = new HttpHeaders({ 12 'Content-Type': 'application/json', 13 'Accept': 'application/json' 14 }); 15 return headers; 16 }