Anyway, to get form data through the POST method in Android WebView?

This ton was raised a ton, but I did not find a clear answer. I would prefer not to use the JS injection approach because I feel like I don't need ...

Basically, what I'm doing is an Android app that will act as a stand-alone website counterpart. When synchronized, it will, if necessary, make any changes to the files of html, JS and CSS sites. Then, while offline, it will display this in a WebView.

I want to be able to extract data from a form as if it were online, but pull it out of the WebView and save it to the database on the device. Then, when it is online, the application synchronizes this data with the actual database of the website.

I know how to make this work with GET, but I would rather switch using POST.

+4
source share

All Articles