Asnync settings - URL with custom AuthHeaders (bearer token)

Hello,

question is already in written in the subject, but is it somehow possible to add custom header (bearer token in specific form) - do not really want that non-auth user can upload a file.


There is customFormData for sending other data to API (which is great) , but is it possible to add specific header?


BR,

Vedran


2 Replies 1 reply marked as answer

VH Vedran Hudec October 12, 2021 06:13 PM UTC

Found the answer to my question in your documentation :)


https://ej2.syncfusion.com/vue/documentation/uploader/async/


topic: "Adding additional HTTP headers with upload action".


T



Marked as answer

BC Berly Christopher Syncfusion Team October 13, 2021 06:25 AM UTC

Hi Vedran, 

We are glad to know that the issue is resolved in your end. Please let us know if you need further assistance on this. 

Regards, 
Berly B.C 


Loader.
Up arrow icon