Closed alpeshgaglani closed 9 years ago
My bad - this works just fine. Unfortunately, IE11 developer tools does not show the Authorization headers because of this issue: https://connect.microsoft.com/IE/Feedback/Details/1004150. Will use fiddler from now :)
I think I have a pretty common setup, so apologize if this issue is known: Our setup has all the RESTful apis in api.example.com domain, and I need to access them from someotherdomain.com. So on someotherdomain.com, I included and on API, I created proxy.html and set the master. Calls are going through just fine. Here's the issue: I want to set a custom header ("Authorization" : "Bearer " + token) on all API calls. The token is set in the cookie in a previous login call. So I did the following: In proxy.html, I setup an onbefore xhook:
When I inspect the request object after the call, the headers do have the new header, but I do not see it on the network call. Can you please help me get past this?