I'm using inappwebview package, which opens a web page. I want to receive some data from my Flutter app to my web page (php/html) or there's may be some better option? Basically the user select a product in the app and then the inappwebview package will open this web page to show some specific products).
I have found that inappwebview postData: "Loads the given [url] with [postData] using POST method into this WebView" and what I have tried is;
controller.postUrl(
url: "web link",
postData: utf8.encode(data)
);
And in web page (php) I don't know how this data receives, I tried to write it like this;
$data =utf8_decode($_POST['postData']);
Which is not correct i guess. Please help me!