How to set headers in InAppBrowser Cordoba?

In the application that I create using the ionic structure (based on Cordova ) I use Cordova InAppBrowser to visit the URL, but I want to set my own headers for this request, I read readme and some other sites, but can not find anything.

Does anyone know how I can set headers in Corova InAppBrowser? All tips are welcome!

+5
source share
1 answer

As far as I know, this is not possible. Therefore, I chose an alternative solution in which I gave the parameters through the URL. I could do this because I also controlled the URL that I wanted to open. So it worked, but it was not perfect.

In any case, perhaps this can help other people.

+1
source

Source: https://habr.com/ru/post/1216272/


All Articles