var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.open("POST", "/myDestinationPath/myWebService", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.setRequestHeader("myCustomHeader", "customHeaderValue"); xhr.send(JSON.stringify(myBodyData));
My Issue is:
My webservice didn't get custom header field in HttpRequest that was sent from my UI5 app.
(I have used Fetch API and ajax but had the same issue)
So are there any solutions for this problem ?
Thank you for your help !