OpusCapita / filemanager

React based FileManager for browser ( + FS REST API for Node.js and Express)

Home Page:https://demo.core.dev.opuscapita.com/filemanager/master/?currentComponentName=FileManager&maxContainerWidth=100%25&showSidebar=false

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

NSerlonghi opened this issue · comments

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!