I want to integrate a webviewer component in an appinventor app.
I want the app to POST something to already prepared PHP script. I do not want to use GET. So PHP on server looks like:
<?php echo $_POST['value']; ?>
My appinventor block looks like:

This is NOT working. Any help appreciated. Thanks.
EDIT: 2nd try. Thank you @YiWei.

add requestheaders:content-type:application/x-www-form-urlencoded and buildrequestData

the webviewer only can do GET
this should work:

using the web component, you get the result back in the Web.GotText event

see also the documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With