Need to remove Authorization Bearer in POST Call
Below code didnt remove the authorization bearer which is coming from http interceptors.
Status code: 403 Unauthorized RequestAuthorization header is present, this is not supported
public EMail(Request) {
const headers = new HttpHeaders()
.delete('Authorization', 'Bearer ' + sessionStorage.removeItem('accessToken'));
return this.http.post<Email>(sendMailUrl, request, { headers }).map((data: any) => {
});