This adds a new option in the conf object called globalHeaders that behaves similar to globalParameters, but for headers. This will allow to set a header to send to all your OCs (useful for authentication, for example). globalHeaders can be an object, or a function that returns an object (in case you want it to depend on globals exposed in window that may change).
This adds a new option in the conf object called
globalHeaders
that behaves similar toglobalParameters
, but for headers. This will allow to set a header to send to all your OCs (useful for authentication, for example). globalHeaders can be an object, or a function that returns an object (in case you want it to depend on globals exposed in window that may change).