this.pivot.flexmonster.updateData({
filename: this.configjsonservice.baseURL + "/optiq/reportdesigner/" + frmdate + "/" + todate + "/" + tablename + "/reportdesignerdata",
requestHeader:{ 'Authorization':'bearer '+localStorage.getItem('accessToken') ,"Content-Type": "application/json"}
})
Hello Prathmesh,
Thank you for the question.
Currently, the following API calls support requestHeaders
for the data source: connectTo() / updateData() / setReport()
.
So, in case you need to use request headers for all requests, you have to use the above methods.
Please note that getReport()
and save()
do not expose request headers.
Hope it was helpful.
Regards,
Ian