javascript - Intercepting POST request in a WebView -


i'm working on app has login form loaded inside webview. login form returned token in cookie, retrieved cookiemanager , cached locally.

after api change, token needed being returned inside request body of post request made app (not server). i've tried intercepting every call made through webview using okhttp (following https://artemzin.com/blog/use-okhttp-to-load-resources-for-webview/), redundant since aren't aware of headers, or data make request.

it's worth mentioning min api version 14, therefore can't rely on js injection either (which requires min version of 17).


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -