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

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -