OpusCapita / filemanager

React based FileManager for browser ( + FS REST API for Node.js and Express)
https://demo.core.dev.opuscapita.com/filemanager/master/?currentComponentName=FileManager&maxContainerWidth=100%25&showSidebar=false
Apache License 2.0
566 stars 122 forks source link

How Send Custom Header In Client React-filemanager to Server ? #262

Open NSerlonghi opened 5 years ago

NSerlonghi commented 5 years ago

Hi, I have an access token that I would like to pass as a key:value pair like Authorization: Bearer {accessToken} into the header. I have looked into another issue (#224) to resolve this but I don't understand how I can pass as request interceptors as function via apiOptions. Thanks for your help!