Page 1 of 1

Sending headers with FileUpload 7

Posted: 09 May 2019, 10:25
by jorge_gil
Hi all

I've been trying to send headers when I upload file (I'm using JWT token) and I don't know how to do it with 7.1.2 version.

I had no problems with Primeng 6 and previous versions, accesing the XHR object, but in this version (I'm pretty sure PrimeNg is using HttpClient instead) I can't access neither to XHR or http property (because is private).

Is there any other way to do it? Is it a bug and I have to wait por the fix?

Thanks in advance

Jorge Gil