import { HttpHeaders } from '@angular/common/http'; ... this.http.post<any>(BACKEND_URL, postData, {headers: new HttpHeaders({your-headers})}) .subscribe(responseData => { ... });