Hi experts,
I have a requirement to add custom header parameter to the downloading file for read operation. Below are the code details,
oModel.setHeaders({
"template": "X"
});
oModel.read("/ContractSet('00')/$value", {
success: function (oData, oResponse) {
console.log("success");
}.bind(this),
In the network tab, it is showing as successful and can see the header parameter template:X is passed. But the header parameter is not triggered in the backend. Is this backend issue or frontend issue? Do backend people need to maintain any? or is there any different way to send header parameter for downloading files from frontend?
Kindly help me in resolving this.
Thanks & Regards,
Ayesha