I'm trying to call API controller which validates request's header (X-Session-id). How to configure oDataProvider to pass variable to request header?
var context = new JayData.SomeEntities({
name: 'oData',
oDataServiceHost: 'https://mydomain/RestService',
headers: { 'X-SessionId': 'f05d1c1e-b1b9-5a2d-2f44-da811bd50bd5' }//How to put value here
});