in a form with submit in html in component fetchImage(form:NgForm) { this.url="http://localhost:3000/getimag" /> in a form with submit in html in component fetchImage(form:NgForm) { this.url="http://localhost:3000/getimag" /> in a form with submit in html in component fetchImage(form:NgForm) { this.url="http://localhost:3000/getimag"/>

angular interceptor doesnt work for <img [src]="url" *ngIf="!isimageloading">

132 Views Asked by At
 <img [src]="url" *ngIf="!isimageloading">  

in a form with submit in html

in component

fetchImage(form:NgForm)
  {
    this.url="http://localhost:3000/getimage/"+this.groupby+"/"+this.aggregate+"("+this.column+")";
    this.isimageloading = false;
   

  }

only one module-app module.only 2 http client imports one in httpservice and one in appcomponent.

tried:Interceptor not intercepting http requests (Angular 6) expecting : to intercept request

0

There are 0 best solutions below