I can see a cookie with the code below
String cookies = CookieManager.getInstance().getCookie(url);
but I couldn't figure out how to get headers.
I can see a cookie with the code below
String cookies = CookieManager.getInstance().getCookie(url);
but I couldn't figure out how to get headers.
Refer if you want to get response header, Access the http response headers in a WebView?
or if you want to attach request header, just use attach map when call webView.loadUrl() How to load URL with headers in WebView?