Inventor of POST 2 Application

I want to integrate the webviewer component in an appinventor application.

I want the POST application ready for the PHP script. I do not want to use GET . Therefore, PHP on the server looks like this:

 <?php echo $_POST['value']; ?> 

My appinventor block looks like this:

enter image description here

This does not work. Any help appreciated. Thanks.

EDIT : second attempt. Thanks @YiWei. enter image description here

+5
source share
2 answers

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

enter image description here

+4
source

webviewer can only webviewer get
this should work:

enter image description here

using the web component, you return the result to the Web.GotText event enter image description here

see also documentation

+2
source

Source: https://habr.com/ru/post/1205537/


All Articles