angular2 services - Angular 2 Resolver triggers Error 414 -


for angular project want preload image server returns image in base64 string format. therefore i'm using resolver on route.

@injectable() export class contactresolve implements resolve<imageobject> {    constructor(private imageservice: imageservice) {}    resolve(route: activatedroutesnapshot) {     return this.imageservice.getimage(route.parammap.get('id'));   } } 

when navigate the route i'm getting 414 request uri long error in console. because angular add whole image string in url pass component guess. have solution overcome problem?


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -