p-fileupload how to add a header in onBeforeUpload

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
atulmith@gmail.com
Posts: 6
Joined: 13 Jun 2012, 07:58

07 Dec 2016, 13:52

Hi,
Can anyone please point me to a doc telling as to how to write a REST service to consume the p-fileupload component for multiple file uploads.

How to add a header to "onBeforeUpload($event)" function to add this
headers.append('Content-Type', 'multipart/form-data');

Doing this will allow my rest service to be consumed by the fileupload component
Thanks,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests