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

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -