You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering how to use my Custom HttpInterceptor with ngx-uploader. Since it is not using HttpClient but XMLHttpRequest directly, interception is nerver made. That would be useful in the case some JWT token validation needs to be done, etc.
Is it something plan ?
Best Regards,
Yannick
The text was updated successfully, but these errors were encountered:
XMLHttpRequest simply doesn't work well with interceptors, and that is likely why this repo's headers: { key: value } exists when building your upload request.
I use Authorization headers with a localstorage token, which should be standard:
Hi !
I was wondering how to use my Custom HttpInterceptor with ngx-uploader. Since it is not using HttpClient but XMLHttpRequest directly, interception is nerver made. That would be useful in the case some JWT token validation needs to be done, etc.
Is it something plan ?
Best Regards,
Yannick
The text was updated successfully, but these errors were encountered: