How can I add token to the header of upload request


#1

Hello,
I’m trying to add a token to the header of upload request. But I can’t find the right method to do it. Please advise.


#2

You may add the custom parameters to your uploading request using the params property:
https://docs.dhtmlx.com/vault/api__uploader__params_config.html


#3

I’m sorry, I’m new to JS world, where to get the token ? / is it ok to save the token in memory ?
is there a solution also for gantt library ?
Thanks!