Reputation: 53843
In an app I'm building using the ionic framework (based on Cordova) I'm using the Cordova InAppBrowser to visit a url, but I want to set custom headers for that request. I've read over the readme and some other sites, but I can't find anything.
Does anybody know how I can set headers in the Cordova InAppBrowser? All tips are welcome!
Upvotes: 8
Views: 4537
Reputation: 53843
As far as I now know this could not be done. So I opted for an alternative solution in which I gave the params via the url. I could do this because I also controlled the url which I wanted to open. So it worked, but it wasn't ideal.
Anyway, maybe this can help other people.
Upvotes: 4